Skip Menu |

This queue is for tickets about the NetPacket-SpanningTree CPAN distribution.

Report information
The Basics
Id: 87085
Status: new
Priority: 0/
Queue: NetPacket-SpanningTree

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: (no value)

Attachments
NetPacket-SpanningTree-0.01-qw-does-not-imply-parentheses-anymore.patch



Subject: Syntax error due to qw with perl 5.18
Current NetPacket-SpanningTree uses foreach ... qw() without parentheses which is syntax error since perl 5.18: + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..1 # Running under perl version 5.018000 for linux # Current time local: Sat Jul 20 07:23:22 2013 # Current time GMT: Sat Jul 20 05:23:22 2013 # Using Test.pm version 1.26 syntax error at blib/lib/NetPacket/SpanningTree.pm line 250, near "$name qw(message_age hello_time max_age forward_delay)" Global symbol "$name" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 251. Global symbol "$data" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 251. Global symbol "$name" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 251. Global symbol "$packStruct" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 255. Global symbol "$packStruct" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 256. Global symbol "$packed_data" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 257. Global symbol "$packStruct" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 257. Global symbol "$data" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 258. Global symbol "$data" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 262. Global symbol "$data" requires explicit package name at blib/lib/NetPacket/SpanningTree.pm line 263. syntax error at blib/lib/NetPacket/SpanningTree.pm line 270, near "$name qw(message_age hello_time max_age forward_delay)" blib/lib/NetPacket/SpanningTree.pm has too many errors. Compilation failed in require at test.pl line 10. BEGIN failed--compilation aborted at test.pl line 10. make: *** [test_dynamic] Error 255
Subject: Re: [rt.cpan.org #87085] AutoReply: Syntax error due to qw with perl 5.18
Date: Sat, 20 Jul 2013 07:35:41 +0200
To: Bugs in NetPacket-SpanningTree via RT <bug-NetPacket-SpanningTree [...] rt.cpan.org>
From: Petr Pisar <ppisar [...] redhat.com>
On Sat, Jul 20, 2013 at 01:24:04AM -0400, Bugs in NetPacket-SpanningTree via RT wrote: Show quoted text
> Current NetPacket-SpanningTree uses foreach ... qw() without parentheses > which is syntax error since perl 5.18: >
Attached patch fixes it. -- Petr

Message body is not shown because sender requested not to inline it.

Download (untitled)
application/pgp-signature 230b

Message body not shown because it is not plain text.