versionPerl extension for Version Objects | |
Download |
version Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- John Peacock
- Publisher web site:
- http://search.cpan.org/~jpeacock/Math-Currency-0.46/lib/Math/Currency.pm
version Tags
version Description
Perl extension for Version Objects version is a Perl extension for version objects.SYNOPSIS use version; $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.005030Overloaded 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 Requirements: · Perl
version Related Software