xsawyerx / module-starter

Module::Starter, a tool to help create solid Perl modules from scratch
Other
41 stars 30 forks source link

use version.pm to compare versions correctly in test #61

Closed Grinnz closed 7 years ago

Grinnz commented 7 years ago

Comparing v-strings and $^V with numeric comparison does not work before 5.10.0 since $^V itself was a v-string, not a version object. Instead parse all the versions into version objects for comparison and compare to $].