Subject: | version info created for invalid versions |
Date: | Tue, 1 Nov 2011 23:40:41 -0500 |
To: | bugs-module-metadata [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
Module::Metadata incorrectly finds a version in this file (which I
have attached and pasted below)
package InvalidVersion;
our $VERSION = 0.1.0;
1;
I have also included a script that demonstrates that the version is
not a valid anything. This is the output of that script on my system.
defined
version not ok
version is: '$VAR1 = '';
Module::Metadata says version is: 'v0.1.0'
Module::Extract::VERSION says version is: ''
module_info Module::Metadata
slave-iv
Name: Module::Metadata
Version: 1.000007
Directory: /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2
File: /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Module/Metadata.pm
Core module: no
--
Caleb Cushing
http://xenoterracide.com
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.