| 1 | Source: libgetopt-tabular-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Damyan Ivanov <[email protected]> |
| 4 | Section: perl |
| 5 | Priority: optional |
| 6 | Build-Depends: debhelper-compat (= 13) |
| 7 | Build-Depends-Indep: perl |
| 8 | Standards-Version: 3.9.5 |
| 9 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libgetopt-tabular-perl |
| 10 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libgetopt-tabular-perl.git |
| 11 | Homepage: https://metacpan.org/release/Getopt-Tabular |
| 12 | Testsuite: autopkgtest-pkg-perl |
| 13 | |
| 14 | Package: libgetopt-tabular-perl |
| 15 | Architecture: all |
| 16 | Depends: ${misc:Depends}, |
| 17 | ${perl:Depends} |
| 18 | Multi-Arch: foreign |
| 19 | Description: table-driven argument parsing for Perl 5 |
| 20 | Getopt::Tabular is a Perl 5 module for table-driven argument parsing, |
| 21 | vaguely inspired by John Ousterhout's Tk_ParseArgv. |
| 22 | . |
| 23 | Some nice features of Getopt::Tabular are: |
| 24 | * Command-line arguments are carefully type-checked, both by pattern and |
| 25 | number -- e.g. if an option requires two integers, GetOptions makes sure |
| 26 | that exactly two integers follow it! |
| 27 | * The valid command-line arguments are specified in a data structure |
| 28 | separate from the call to GetOptions; this makes it easier to have very |
| 29 | long lists of options, and to parse options from multiple sources |
| 30 | (e.g. the command line, an environment variable, and a configuration file). |
| 31 | * Getopt::Tabular can intelligently generate help text based on your option |
| 32 | descriptions. |
| 33 | * The type system is extensible, and if you can define your desired argument |
| 34 | type using a single Perl regular expression then it's particularly easy to |
| 35 | extend. |
| 36 | * Options can be abbreviated and come in any order. |
| 37 | * A "spoof" mode in which arguments are parsed without side-effects. |