Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 95061
Status: new
Priority: 0/
Queue: Version-Compare

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

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



Subject: Wish: deal with TRIAL versions
Currently Version::Compare cannot deal with the "TRIAL" and "TRIALn" additions which may appear in CPAN distributions. It would be nice if there was support for this. $ perl -MTest::More=no_plan -MVersion::Compare -e 'is(Version::Compare::version_compare("1.2", "1.2-TRIAL"), 1)' Argument "TRIAL" isn't numeric in int at /usr/perl5.18.2/lib/site_perl/5.18.2/Version/Compare.pm line 31. not ok 1 # Failed test at -e line 1. # got: '0' # expected: '1' 1..1 # Looks like you failed 1 test of 1.