|
NAMEBash::Completion::Utils - Set of utility functions that help writting plugins VERSIONversion 0.008 SYNOPSIS use Bash::Completion::Utils qw(
command_in_path match_perl_modules prefix_match
);
...
DESCRIPTIONA library of utility functions usefull to plugin writers. FUNCTIONScommand_in_pathGiven a command name, returns the full path if we find it in the PATH. match_perl_modulesGiven a partial module name, returns a list of all the possible completions. If a single exact match is found, it returns nothing. Some examples:
prefix_matchAccepts a single word and a list of options. Returns the options that match the word. AUTHORPedro Melo <melo@cpan.org> COPYRIGHT AND LICENSEThis software is Copyright (c) 2011 by Pedro Melo. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)
|