Term::Completion::Path - read a path with completion like on a shell
use Term::Completion::Path; my $tc = Term::Completion::Path->new( prompt => "Enter path to your signature file: " ); my $path = $tc->complete(); print "You entered: $path\n";
Term::Completion::Path is a derived class of Term::Complete. It prompts the user to interactively enter a path with completion like on a shell. The currently accessible file system is used to get the completion choices.
See Term::Complete for details.
Term::Completion::Path adds one additional configuration parameter, namely "sep". This is the directory separator of the current operating system.
Marek Rouchal, <email@example.com<gt>
Please submit patches, bug reports and suggestions via the CPAN tracker http://rt.cpan.org.
Copyright (C) 2009-2013 by Marek Rouchal
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.