Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Bash::Completion::UtilUser Contributed Perl DocumentBash::Completion::Utils(3)

NAME
       Bash::Completion::Utils - Set of	utility	functions that help writting
       plugins

VERSION
       version 0.008

SYNOPSIS
	   use Bash::Completion::Utils qw(
	     command_in_path match_perl_modules	prefix_match
	   );

	   ...

DESCRIPTION
       A library of utility functions usefull to plugin	writers.

FUNCTIONS
   command_in_path
       Given a command name, returns the full path if we find it in the	PATH.

   match_perl_modules
       Given a partial module name, returns a list of all the possible
       completions.

       If a single exact match is found, it returns nothing.

       Some examples:

       (empty string)
	   List	all top	level modules and namespaces.

       Template
	   List	"Template", the	module,	and "Template::", the namespace.

       Net::DNS::RR::
	   Lists all type of Resource Records modules.

       File::Tempdir
	   Returns an empty list.

   prefix_match
       Accepts a single	word and a list	of options.

       Returns the options that	match the word.

AUTHOR
       Pedro Melo <melo@cpan.org>

COPYRIGHT AND LICENSE
       This software is	Copyright (c) 2011 by Pedro Melo.

       This is free software, licensed under:

	 The Artistic License 2.0 (GPL Compatible)

perl v5.32.1			  2011-10-22	    Bash::Completion::Utils(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | FUNCTIONS | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Bash::Completion::Utils&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help