summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-10-03 16:21:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-10-03 16:21:59 +0000
commitc3c974a67f0c45348e2d8d31bc20ceb1672d9fa5 (patch)
treeb9311dabd5d1ca345f31d0a5d699e0fc6cdb5c29 /pod
parentc8ae91a8d996e65182b5522ff8f511a834fac9c1 (diff)
downloadperl-c3c974a67f0c45348e2d8d31bc20ceb1672d9fa5.tar.gz
Reverse change #31978
p4raw-link: @31978 on //depot/perl: d804f4346b490171e547d5cc512063e53da10708 p4raw-id: //depot/perl@32015
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod2
-rw-r--r--pod/perlfunc.pod6
2 files changed, 0 insertions, 8 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 9d79311c08..1d2650fdc1 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -4942,8 +4942,6 @@ C<use 5.006_001>. This of course won't help: the older Perls
won't suddenly start understanding newer features, but at least
they will show a sensible error message indicating the required
minimum version.
-This warning is suppressed if the C<use 5.x.y> is preceded by a
-C<use 5.006> (see C<use VERSION> in L<perlfunc/use>).
=item Warning: something's wrong
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index a037970044..9184a8aeba 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -6853,15 +6853,9 @@ avoided, because it leads to misleading error messages under earlier
versions of Perl that do not support this syntax. The equivalent numeric
version should be used instead.
-Alternatively, you can use a numeric version C<use 5.006> followed by a
-v-string version like C<use v5.10.1>, to avoid the unintuitive C<use
-5.010_001>. (older perl versions fail gracefully at the first C<use>,
-later perl versions understand the v-string syntax in the second).
-
use v5.6.1; # compile time version check
use 5.6.1; # ditto
use 5.006_001; # ditto; preferred for backwards compatibility
- use 5.006; use 5.6.1; # ditto, for compatibility and readability
This is often useful if you need to check the current Perl version before
C<use>ing library modules that have changed in incompatible ways from