summaryrefslogtreecommitdiff
path: root/pod/perlmodlib.PL
diff options
context:
space:
mode:
authorClaes Jakobsson <claes@versed.se>2011-06-30 22:09:13 +0200
committerFather Chrysostomos <sprout@cpan.org>2011-06-30 19:27:37 -0700
commitf39335f980be44f86fada26f29f9aa7e50e2e686 (patch)
treeb9b55aee28d7de2eb038349281bb2fd63290fd08 /pod/perlmodlib.PL
parent4899916ae02f106df163459798ebe3b2a863afb6 (diff)
downloadperl-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.PL2
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.