GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Bash::Completion::Utils(3) User Contributed Perl Documentation Bash::Completion::Utils(3)

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

version 0.008

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

    ...

A library of utility functions usefull to plugin writers.

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

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.

Accepts a single word and a list of options.

Returns the options that match the word.

Pedro Melo <melo@cpan.org>

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
2011-10-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.