Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 21749
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: Bernhard.Schmalhofer [...] gmx.de
Cc:
AdminCc:

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



Subject: $VERSION not found when in list with spaces
Hi, in my scripts I frequently have lines like this: our ( $VERSION ) = '$Revision: 4931 $' =~ m{ \$Revision: \s+ (\S+) }xms; For this I get: Modules::RequireVersionVar: No "VERSION" variable found at line 1 See page 404 of PBP However I get no complaint when I have: our ($VERSION) = '$Revision: 4931 $' =~ m{ \$Revision: \s+ (\S+) }xms;
Subject: Re: [rt.cpan.org #21749] $VERSION not found when in list with spaces
Date: Wed, 27 Sep 2006 11:31:57 -0700 (PDT)
To: bug-Perl-Critic [...] rt.cpan.org
From: Jeffrey Thalhammer <jeffrey_thalhammer [...] yahoo.com>
Hi Bernard- I think that problem is attributable to http://rt.cpan.org/Public/Bug/Display.html?id=21575. Upgrading to PPI 1.118 should correct it. -Jeff Show quoted text
----- Original Message ---- From: "Bernhard.Schmalhofer@gmx.de via RT" <bug-Perl-Critic@rt.cpan.org> To: undisclosed-recipients Sent: Wednesday, September 27, 2006 9:44:50 AM Subject: [rt.cpan.org #21749] $VERSION not found when in list with spaces Wed Sep 27 12:44:48 2006: Request 21749 was acted upon. Transaction: Ticket created by Bernhard.Schmalhofer@gmx.de Queue: Perl-Critic Subject: $VERSION not found when in list with spaces Broken in: 0.2 Severity: Normal Owner: Nobody Requestors: Bernhard.Schmalhofer@gmx.de Status: new Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=21749 > Hi, in my scripts I frequently have lines like this: our ( $VERSION ) = '$Revision: 4931 $' =~ m{ \$Revision: \s+ (\S+) }xms; For this I get: Modules::RequireVersionVar: No "VERSION" variable found at line 1 See page 404 of PBP However I get no complaint when I have: our ($VERSION) = '$Revision: 4931 $' =~ m{ \$Revision: \s+ (\S+) }xms;
From: Bernhard.Schmalhofer [...] gmx.de
On Mi. 27. Sep. 2006, 14:32:12, jeffrey_thalhammer@yahoo.com wrote: Show quoted text
> I think that problem is attributable to > http://rt.cpan.org/Public/Bug/Display.html?id=21575. Upgrading to PPI > 1.118 should correct it.
Upgrading PPI 1.118 did the trick. Thanks.
As discussed, upgrading to PPI 1.118 will fix this problem.