1f3d146f8a
While here mark this package as not requiring any compiler (empty USE_LANGUAGES variable). Changes since last packaged version (2.35): Changes in version 2.37 ----------------------- * Bugfix: With gnu_compat, --foo= will no longer trigger "Option requires an argument" but return the empty string. Changes in version 2.36 ----------------------- **************** WARNING -- EXPERIMENTAL CODE AHEAD **************** * Parsing options from an arbitrary array The entry point GetOptionsFromArray (exported on demand) can be used to parse command line options that are not passed in via @ARGV, but using an arbitrary array. use Getopt::Long qw(GetOptionsFromArray); $ret = GetOptionsFromArray(\@myopts, ...); * Parsing options from an arbitrary string The entry point GetOptionsFromString (exported on demand) can be used to parse command line options that are not passed in via @ARGV, but using an arbitrary string. use Getopt::Long qw(GetOptionsFromString); $ret = GetOptionsFromString($optstring, ...); Note that upon completion, no arguments may remain in the string. If arguments may remain, call it in list context: ($ret, $args) = GetOptionsFromString($optstring, ...); @$args will have the remaining arguments. **************** END EXPERIMENTAL CODE **************** * Number values for options may include underscores for readability (just like Perls numbers). * Bugfix for Ticket #19432 (found and fixed by khali). * Bugfix to make it cooperate with the bignum pragma. Thanks to Merijn and Yves. * Various small fixes to make the test suite run under 5.004_05. * More examples (skeletons).
5 lines
250 B
Text
5 lines
250 B
Text
$NetBSD: distinfo,v 1.2 2008/07/27 12:53:26 seb Exp $
|
|
|
|
SHA1 (Getopt-Long-2.37.tar.gz) = 84e231ba85f19308ff9d67be609f6bc546d5f3a6
|
|
RMD160 (Getopt-Long-2.37.tar.gz) = e4b9a1abb4a5da2cb664e5a7d96188b3689b9700
|
|
Size (Getopt-Long-2.37.tar.gz) = 41006 bytes
|