List Info

Thread: document lib/feature.pm




document lib/feature.pm
user name
2007-09-17 12:18:43

I have patched the POD for feature to
1) use "5.10.0" instead of the development version string "5.9.5"
2) note that C<use 5.10.0;>; will warn; but C<use 5.010;> will not

Robin Barker

--- lib/feature.pm.orig 2007-09-08 21:48:36.000000000 +0100
+++ lib/feature.pm &nbsp;   ; 2007-09-17 18:11:44.000000000 +0100
-120,16 +120,22
 
 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,
 
- &nbsp;  use 5.9.5;
+ &nbsp;  use 5.10.0;
 
 will do an implicit
 
- &nbsp;  use feature ':5.9.5';
+ &nbsp;  use feature ':5.10.0';
 
 and so on.
 
+But to avoid portability warnings (see L<perlfunc/use>), you may prefer:
+
+ &nbsp;  use 5.010;
+
+with the same effect.
+
 =back
 
 =cut
End of patch


<<portable.patch>>

  
Re: document lib/feature.pm
user name
2007-09-18 07:30:26
On 17/09/2007, Robin Barker <Robin.Barkernpl.co.uk> wrote:
>
>
>
> I have patched the POD for feature to
> 1) use "5.10.0" instead of the development
version string "5.9.5"
> 2) note that C<use 5.10.0;> will warn; but
C<use 5.010;> will not

Thanks, applied as #31893.

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )