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.