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:
Low/Low

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

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


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.