Version objects were added to Perl in 5.10. This module implements version objects for older version of Perl and provides the version object API for all versions of Perl. All previous releases before 0.74 are deprecated and should not be used due to incompatible API changes. Version 0.77 introduces the new parse and declare methods to standardize usage. You are strongly urged to set 0.77 as a minimum in your code, e.g.
There are two different types of version objects, corresponding to the two different styles of versions in use:
The classic floating-point number $VERSION. The advantage to this style is that you don t need to do anything special, just type a number into your source file. Quoting is recommended, as it ensures that trailing zeroes ( 1.50 ) are preserved in any warnings or other output.
Dotted Decimal Versions
The more modern form of version assignment, with 3 (or potentially more) integers separated by decimal points (e.g. v1.2.3). This is the form that Perl itself has used since 5.6.0 was released. The leading v is now strongly recommended for clarity, and will throw a warning in a future release if omitted. A leading v character is required to pass the is_strict() test.