diff options
author | Claes Jakobsson <claes@versed.se> | 2011-06-30 22:09:13 +0200 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-06-30 19:27:37 -0700 |
commit | f39335f980be44f86fada26f29f9aa7e50e2e686 (patch) | |
tree | b9b55aee28d7de2eb038349281bb2fd63290fd08 /pod/perlmodlib.PL | |
parent | 4899916ae02f106df163459798ebe3b2a863afb6 (diff) | |
download | perl-f39335f980be44f86fada26f29f9aa7e50e2e686.tar.gz |
Report a better error when trying to use negative version numbers instead of 'Invalid version format (non-numeric data)' as it currently does. Also update documentation that version should be a positive number.
Diffstat (limited to 'pod/perlmodlib.PL')
-rw-r--r-- | pod/perlmodlib.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlmodlib.PL b/pod/perlmodlib.PL index a82f22f980..26f69cb3e8 100644 --- a/pod/perlmodlib.PL +++ b/pod/perlmodlib.PL @@ -1328,7 +1328,7 @@ Give the module a version/issue/release number. To be fully compatible with the Exporter and MakeMaker modules you should store your module's version number in a non-my package -variable called $VERSION. This should be a floating point +variable called $VERSION. This should be a positive floating point number with at least two digits after the decimal (i.e., hundredths, e.g, C<$VERSION = "0.01">). Don't use a "1.3.2" style version. See L<Exporter> for details. |