/[pkgs]/devel/perl/17_fix_getopt_long_callback
ViewVC logotype

Contents of /devel/perl/17_fix_getopt_long_callback

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Mar 11 22:01:05 2009 UTC (8 months, 1 week ago) by spot
Branch: MAIN
CVS Tags: F-12-split, perl-5_10_0-63_fc11, perl-5_10_0-61_fc11, perl-5_10_0-80_fc12, perl-5_10_0-81_fc12, perl-5_10_0-84_fc13, perl-5_10_0-82_fc13, perl-5_10_0-77_fc12, perl-5_10_0-83_fc13, perl-5_10_0-71_fc12, perl-5_10_0-75_fc12, perl-5_10_0-73_fc12, perl-5_10_0-68_fc11, perl-5_10_0-67_fc11, perl-5_10_0-64_fc11, perl-5_10_0-72_fc12, F-11-split, perl-5_10_0-62_fc11, perl-5_10_0-69_fc12, perl-5_10_0-79_fc12, perl-5_10_0-78_fc12, perl-5_10_0-70_fc12, perl-5_10_0-74_fc12, perl-5_10_0-66_fc11, perl-5_10_0-65_fc11, perl-5_10_0-76_fc12, HEAD
reorder @INC, fix bz 489204, merge useful debian patches
1 Remove numeric overloading of Getopt::Long callback functions. (Closes: #479434)
2
3 The numeric overloading introduced in Getopt::Long 2.36 broke
4 lintian and libvcp-perl.
5
6 Dual-lived module, fixed on the CPAN side in 2.37_01.
7
8 [rt.cpan.org #35759]
9 diff --git a/lib/Getopt/Long.pm b/lib/Getopt/Long.pm
10 index f44e615..b5f94b1 100644
11 --- a/lib/Getopt/Long.pm
12 +++ b/lib/Getopt/Long.pm
13 @@ -1483,7 +1483,6 @@ sub name {
14 use overload
15 # Treat this object as an oridinary string for legacy API.
16 '""' => \&name,
17 - '0+' => sub { 0 },
18 fallback => 1;
19
20 1;

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2