sarge  ] [  etch  ] [  etch-m68k  ] [  lenny  ] [  sid  ]
[ 源代码: libgetargs-long-perl  ]

软件包: libgetargs-long-perl (1.1002-1)

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.

标签: Software Development: Perl Development, 链接库, Implemented in: Perl, User Interface: Command Line, Role: Shared Library

其它与 libgetargs-long-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: liblog-agent-perl
    Log::Agent - Helper logging routines for perl
  • dep: perl (>= 5.6.1)
    Larry Wall 的实用抽取和报表语言(Practical Extraction and Report Language)

下载 libgetargs-long-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 25.2 kB96 kB [文件列表]