Skip Menu |

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

Report information
The Basics
Id: 81458
Status: patched
Priority: 0/
Queue: Perl-Version

People
Owner: Nobody in particular
Requestors: nog [...] mpa-garching.mpg.de
Cc:
AdminCc:

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



Subject: Problem with Perl::Version v1.011
Date: Sat, 24 Nov 2012 15:35:23 +0100
To: Andy Armstrong <andy [...] hexten.net>
From: Norbert Gruener <nog [...] MPA-Garching.MPG.DE>
Hi Andy, I am using your tool "perl_reversion". Today I run into the following problem. I wanted to "bump" the version number of a module. The module did look like package My_Module 1.48; use strict; use warnings; [snipped lots of code] 1; But "perl_reversion" did not recognize the version number. Since Perl 5.12.0 it is possible to specify the version of a module that way (see perldoc perl5120delta) Core Enhancements New "package NAME VERSION" syntax This new syntax allows a module author to set the $VERSION of a namespace when the namespace is declared with 'package'. It eliminates the need for "our $VERSION = ..." and similar constructs. E.g. But unfortunately Perl::Version is not able to recognize that syntax. Do you think you could extend Perl::Version for that new syntax? Cheers, Norbert -- Ceterum censeo Redmond esse delendam.
Subject: Re: [rt.cpan.org #81458] Bump versions from package declarations
Date: Tue, 18 Feb 2014 10:06:50 +0100
To: Bugs in Perl-Version via RT <bug-Perl-Version [...] rt.cpan.org>
From: Norbert Gruener <nog [...] MPA-Garching.MPG.DE>
Hi brian, I have upgraded my "perl-reversion" script to fix that problem. If you are interested in my upgrade, I have attached the patch file for this modification. Cheers, Norbert -- Ceterum censeo Redmond esse delendam.

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

I've applied this patch to 1.013_02.