Skip Menu |

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

Report information
The Basics
Id: 28121
Status: resolved
Priority: 0/
Queue: Perl-Version

People
Owner: Nobody in particular
Requestors: daxim [...] cpan.org
Cc:
AdminCc:

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



Subject: lobby CPAN testers to get P::V integrated with the automated testing tools
When a module relies on Perl::Version to set up $VERSION, something (vague, I know) will use EU::MM to extract the version, but fail because the step of building the requirements has not come yet. So even though Perl::Version has been named as requirement, the distro fails on Testers due to a perceived lack of requirement in Makefile.PL. See <http://www.mail-archive.com/cpan-testers%40perl.org/msg509493.html> for a complete log. The salient parts are: [MSG] [Wed Jul 11 12:19:35 2007] Could not eval ' package ExtUtils::MakeMaker::_version; no strict; BEGIN { eval { require version; "version"->import; } } local $VERSION; $VERSION=undef; do { use Perl::Version qw(); our $VERSION = Perl::Version->new('0.0.1')->stringify; }; $VERSION ' in lib/Yahoo/Photos.pm: Can't locate Perl/Version.pm in @INC (@INC contains: ... And later: MISSING PREREQUISITES: It was observed that the test suite seem to fail without these modules: Perl::Version
Perl::Version isn't intended for setting the module's version number. For that use version.pm or plain old our $VERSION = '1.2.3'; Perl::Version is intended primarily for working with version numbers using an abstracted interface that hides their representation.