NAME

Term::Completion::Path - read a path with completion like on a shell

USAGE

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";

DESCRIPTION

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.

Configuration

Term::Completion::Path adds one additional configuration parameter, namely "sep". This is the directory separator of the current operating system.

SEE ALSO

Term::Completion, File::Spec

AUTHOR

Marek Rouchal, <marekr@cpan.org<gt>

BUGS

Please submit patches, bug reports and suggestions via the CPAN tracker http://rt.cpan.org.

COPYRIGHT AND LICENSE

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.