Skip Menu |

This queue is for tickets about the NetAddr-IP CPAN distribution.

Report information
The Basics
Id: 63060
Status: resolved
Priority: 0/
Queue: NetAddr-IP

People
Owner: Nobody in particular
Requestors: TODDR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.035
Fixed in: (no value)



Subject: perl 5.13 deprecation message in test suite.
Perl 5.13+ no longer supports 'for qw() {}' This patch corrects your test suite. http://search.cpan.org/~miyagawa/perl- 5.13.6/pod/perl5135delta.pod#Use_of_qw(...)_as_parentheses
Subject: NetAddr-IP-4.033.patch
commit 0228310837e81d5cfdb1368b12da792bcc48e3be Author: Todd Rinaldo <toddr@cpan.org> Date: Tue Nov 16 14:17:26 2010 -0600 fix perl 5.13 deprecation for NetAddr tests diff --git a/Lite/t/v4-new.t b/Lite/t/v4-new.t index 263098b..dd952b9 100644 --- a/Lite/t/v4-new.t +++ b/Lite/t/v4-new.t @@ -42,12 +42,12 @@ if ($@) { plan tests => (4 * scalar @a * scalar @m) + 4; -foreach my $invalid qw( +foreach my $invalid (qw( 256.1.1.1 256.256.1.1 256.256.256.1 256.256.256.256 -) { +)) { ok (! defined NetAddr::IP::Lite->new($invalid), "Invalid IP $invalid returns undef"); }
updated in release 4.036 On Tue Nov 16 16:13:11 2010, TODDR wrote: Show quoted text
> Perl 5.13+ no longer supports 'for qw() {}' > > This patch corrects your test suite. > > http://search.cpan.org/~miyagawa/perl- > 5.13.6/pod/perl5135delta.pod#Use_of_qw(...)_as_parentheses