pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Getopt-Long
Module Name: pkgsrc
Committed By: seb
Date: Sun Jul 27 12:53:26 UTC 2008
Modified Files:
pkgsrc/devel/p5-Getopt-Long: Makefile distinfo
Log Message:
Update to version 2.37.
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).
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/devel/p5-Getopt-Long/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/p5-Getopt-Long/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index