Perl extension for Version Objects
Version: 0.76version is a Perl extension for version objects.
License: Perl Artistic License
Operating System: Linux
$version = version->new("12.2.1"); # must be quoted for Perl < 5.8.1
print $version; # v12.2.1
print $version->numify; # 12.002001
if ( $version gt "12.2" ) # true
$alphaver = version->new("1.02_03"); # must be quoted!
print $alphaver; # 1.02_0300
print $alphaver->is_alpha(); # true
$ver = qv("1.2.0"); # v1.2.0
$perlver = version->new(5.005_03); # must not be quoted!
print $perlver; # 5.005030
Overloaded version objects for all modern versions of Perl. This module implements all of the features of version objects which are part of Perl 5.10.0. All previous releases (i.e. before 0.74) are deprecated and should not be used due to incompatible API changes. If you 'use version' in your code, you are strongly urged to set a minimum, e.g.
use version 0.74; # to remain compatible with Perl v5.10.0