|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.