Up to [cvs.netbsd.org] / pkgsrc / devel / p5-Getopt-Long
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 12 19:24:33 2009 UTC (3 years, 1 month ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
HEAD
Changes since 1.2: +4 -4
lines
Diff to previous 1.2 (colored)
PkgSrc changes: - Updating package for p5 module Getopt::Long to 2.38 - Set license to artistic-2.0 Upstream changes: * Bugfix for Ticket 35759: First arg to callback function evaluates to false when used in bool context. * Fix problem with prototypes of GetOptionsFrom* functions. * Fix restoring default die handler. * Bugfix for Ticket 24941: Autoabbrev with + incorrect.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 27 12:53:26 2008 UTC (3 years, 9 months ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.1: +4 -4
lines
Diff to previous 1.1 (colored)
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).
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Feb 15 23:28:21 2006 UTC (6 years, 3 months ago) by abs
Branch: TNF
CVS Tags: pkgsrc-base,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1,
cwrapper
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Add devel/p5-Getopt-Long-2.35 The Getopt::Long module implements an extended getopt function called GetOptions(). This function adheres to the POSIX syntax for command line options, with GNU extensions. In general, this means that options have long names instead of single letters, and are introduced with a double dash "--". Support for bundling of command line options, as was the case with the more traditional single-letter approach, is provided but not enabled by default.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 15 23:28:21 2006 UTC (6 years, 3 months ago) by abs
Branch: MAIN
Initial revision