| 1 |
Source: libgetargs-long-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Maintainer: Colin Watson <[email protected]> |
| 5 |
Build-Depends: |
| 6 |
debhelper-compat (= 13), |
| 7 |
liblog-agent-perl, |
| 8 |
libmodule-install-perl, |
| 9 |
libtest-compile-perl, |
| 10 |
libtest-pod-perl, |
| 11 |
libuniversal-require-perl, |
| 12 |
liburi-perl, |
| 13 |
Standards-Version: 3.9.6 |
| 14 |
Homepage: https://metacpan.org/release/Getargs-Long/ |
| 15 |
Vcs-Git: https://salsa.debian.org/debian/libgetargs-long-perl.git |
| 16 |
Vcs-Browser: https://salsa.debian.org/debian/libgetargs-long-perl |
| 17 |
Testsuite: autopkgtest-pkg-perl |
| 18 |
Rules-Requires-Root: no |
| 19 |
X-Style: black |
| 20 |
|
| 21 |
Package: libgetargs-long-perl |
| 22 |
Architecture: all |
| 23 |
Depends: |
| 24 |
liblog-agent-perl, |
| 25 |
perl:any, |
| 26 |
${misc:Depends}, |
| 27 |
${perl:Depends}, |
| 28 |
Multi-Arch: foreign |
| 29 |
Description: Perl module to parse long function arguments |
| 30 |
The Getargs::Long module allows usage of named parameters in function |
| 31 |
calls, along with optional argument type-checking. It provides an easy |
| 32 |
way to get at the parameters within the routine, and yields concise |
| 33 |
descriptions for the common cases of all-mandatory and all-optional |
| 34 |
parameter lists. |
| 35 |
. |
| 36 |
The validation of arguments can be done by a structure-driven routine |
| 37 |
getargs() which is fine for infrequently called routines (but should be |
| 38 |
slower), or via a dedicated routine created and compiled on the fly the |
| 39 |
first time it is needed, by using the cgetargs() family (expected to be |
| 40 |
faster). |
| 41 |
. |
| 42 |
The Log::Agent module is used to report errors, which leaves to the |
| 43 |
application the choice of the final logging method: to a file, to |
| 44 |
STDERR, or to syslog. |
| 45 |
. |
| 46 |
Note that this module is still in the alpha stage of development, and |
| 47 |
the interface to it may change: indeed, it changed between 0.1.2 and |
| 48 |
0.1.3. |