document [PATCH] lib/feature.pm
authorRobin Barker <RMBarker@cpan.org>
Mon, 17 Sep 2007 18:18:43 +0000 (19:18 +0100)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 18 Sep 2007 12:29:55 +0000 (12:29 +0000)
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D1B3@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@31893

lib/feature.pm

index 73e4990..5990b72 100644 (file)
@@ -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