Package : perl-Getopt-Tabular > RPM : perl-Getopt-Tabular-0.300.0-7.mga6.src.rpm
Basic items
Name | perl-Getopt-Tabular |
Version | 0.300.0 |
Release | 7.mga6 |
URL | http://search.cpan.org/dist/Getopt-Tabular |
Group | Development/Perl |
Summary | Table-driven argument parsing for Perl 5 |
Size | 26KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
Getopt::Tabular is a Perl 5 module for table-driven argument parsing, vaguely
inspired by John Ousterhout's Tk_ParseArgv. All you really need to do to use
the package is set up a table describing all your command-line options, and
call &GetOptions with three arguments: a reference to your option table, a
reference to @ARGV (or something like it), and an optional third array
reference (say, to @newARGV). &GetOptions will process all arguments in @ARGV,
and copy any leftover arguments (i.e. those that are not options or arguments
to some option) to the @newARGV array. (If the @newARGV argument is not
supplied, GetOptions will replace @ARGV with the stripped-down argument list.)
If there are any invalid options, GetOptions will print an error message and
return 0.
inspired by John Ousterhout's Tk_ParseArgv. All you really need to do to use
the package is set up a table describing all your command-line options, and
call &GetOptions with three arguments: a reference to your option table, a
reference to @ARGV (or something like it), and an optional third array
reference (say, to @newARGV). &GetOptions will process all arguments in @ARGV,
and copy any leftover arguments (i.e. those that are not options or arguments
to some option) to the @newARGV array. (If the @newARGV argument is not
supplied, GetOptions will replace @ARGV with the stripped-down argument list.)
If there are any invalid options, GetOptions will print an error message and
return 0.
Media information
Distribution release | Mageia 6 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2016-06-19 03:01:05 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |