Package : perl-Getopt-Long-Complete > RPM : perl-Getopt-Long-Complete-0.316.0-2.mga9.src.rpm
Basic items
Name | perl-Getopt-Long-Complete |
Version | 0.316.0 |
Release | 2.mga9 |
URL | https://metacpan.org/release/Getopt-Long-Complete |
Group | Development/Perl |
Summary | A drop-in replacement for Getopt::Long, with tab completion |
Size | 27KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
This module provides a quick and easy way to add tab completion feature to
your scripts, including scripts already written using the venerable the
Getopt::Long manpage module.
This module is basically just a thin wrapper for Getopt::Long. Its
'GetOptions' function just checks for COMP_LINE/COMP_POINT environment
variable before passing its arguments to Getopt::Long's GetOptions. If
COMP_LINE is defined, completion reply will be printed to STDOUT and then
the program will exit. Otherwise, Getopt::Long's GetOptions is called.
To keep completion quick, you should do 'GetOptions()' or
'GetOptionsWithCompletion()' as early as possible in your script.
Preferably before loading lots of other Perl modules.
your scripts, including scripts already written using the venerable the
Getopt::Long manpage module.
This module is basically just a thin wrapper for Getopt::Long. Its
'GetOptions' function just checks for COMP_LINE/COMP_POINT environment
variable before passing its arguments to Getopt::Long's GetOptions. If
COMP_LINE is defined, completion reply will be printed to STDOUT and then
the program will exit. Otherwise, Getopt::Long's GetOptions is called.
To keep completion quick, you should do 'GetOptions()' or
'GetOptionsWithCompletion()' as early as possible in your script.
Preferably before loading lots of other Perl modules.
Media information
Distribution release | Mageia 9 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-03-21 21:18:15 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |