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