|File Search||Catalog||Content Search|
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.
Getargs::Long - Named subroutine arguments, with optional type checking 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. *** This is alpha so more»
Getargs::Long(3pmUser Contributed Perl DocumentatiGetargs::Long(3pm) NAME Getargs::Long - Named subroutine arguments, with optional type checking SYNOPSIS use Getargs::Long; # case sensitive use Getargs::Long qw(ignorecase); # case insensitive # Simple, args mandatory my ($val, $other) = getargs(@_, qw(val other)); more»
libgetargs-long-perl (1.1003-2) unstable; urgency=low * Convert to source format 3.0 (quilt). * Policy version 3.8.4: - No longer need to build-depend on perl (>= 5.6.0-16). -- Colin Watson <email@example.com> Sun, 07 Mar 2010 23:13:33 +0000 libgetargs-long-perl (1.1003-1) unstable; urgency=low * New upstream release. * Convert to debhelper 7. * Policy version 3.8.2: no chang more»
Version 1.1003: Tue Jul 15 2008 - Updated to the latest version of Module::Install - Removed auto-in more»
This package was debianized by Colin Watson <firstname.lastname@example.org> on Tue, 26 Jun 2001 19:18:53 +0100 more»