summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2007-09-17 19:18:43 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-18 12:29:55 +0000
commit8d115822ac460e3494c9fe3f3452d7331adea3d7 (patch)
tree33cd75d8db30972f956923e3f065634d72c97bef
parent7df75831f29fe5ac1df7476f48c5bb9fac083592 (diff)
downloadperl-8d115822ac460e3494c9fe3f3452d7331adea3d7.tar.gz
document [PATCH] lib/feature.pm
From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D1B3@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@31893
-rw-r--r--lib/feature.pm12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/feature.pm b/lib/feature.pm
index 73e4990805..5990b727c8 100644
--- a/lib/feature.pm
+++ b/lib/feature.pm
@@ -120,16 +120,22 @@ all available features in the main compilation unit (that is, the one-liner.)
By requiring explicitly a minimal Perl version number for your program, with
the C<use VERSION> construct, and when the version is higher than or equal to
-5.9.5. That is,
+5.10.0. That is,
- use 5.9.5;
+ use 5.10.0;
will do an implicit
- use feature ':5.9.5';
+ use feature ':5.10.0';
and so on.
+But to avoid portability warnings (see L<perlfunc/use>), you may prefer:
+
+ use 5.010;
+
+with the same effect.
+
=back
=cut