From d5e40bcc74e8447e12fdce80e14fb4fe6ee63b3e Mon Sep 17 00:00:00 2001 From: Perl 5 Porters Date: Fri, 9 Feb 1996 00:08:35 +0000 Subject: Make note about numerical version numbers. (Part of mm 5.21 patch) --- lib/Exporter.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/Exporter.pm b/lib/Exporter.pm index 90a41d644b..343b9fbd17 100644 --- a/lib/Exporter.pm +++ b/lib/Exporter.pm @@ -326,9 +326,9 @@ The Exporter module supplies a default require_version method which checks the value of $VERSION in the exporting module. Since the default require_version method treats the $VERSION number as -a simple numeric value it will regard version 1.10 and being lower -than 1.9. For this reason it is strongly recommended that you use -numbers with at least two decimal places, e.g., 1.09. +a simple numeric value it will regard version 1.10 as lower than +1.9. For this reason it is strongly recommended that you use numbers +with at least two decimal places, e.g., 1.09. =head2 Managing Unknown Symbols @@ -370,7 +370,7 @@ you to easily add tagged sets of symbols to @EXPORT or @EXPORT_OK: Exporter::export_ok_tags('bar'); # add aa, cc and dd to @EXPORT_OK Any names which are not tags are added to @EXPORT or @EXPORT_OK -unchanged but will trigger a warning (with -w) to avoid misspelt tags +unchanged but will trigger a warning (with C<-w>) to avoid misspelt tags names being silently added to @EXPORT or @EXPORT_OK. Future versions may make this a fatal error. -- cgit v1.2.1