From: Robin Barker Date: Mon, 17 Sep 2007 18:18:43 +0000 (+0100) Subject: document [PATCH] lib/feature.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d115822ac460e3494c9fe3f3452d7331adea3d7;p=p5sagit%2Fp5-mst-13.2.git document [PATCH] lib/feature.pm From: "Robin Barker" Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D1B3@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@31893 --- diff --git a/lib/feature.pm b/lib/feature.pm index 73e4990..5990b72 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 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), you may prefer: + + use 5.010; + +with the same effect. + =back =cut