summaryrefslogtreecommitdiff
path: root/pod/perldata.pod
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2007-12-17 00:48:07 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-12-17 17:29:49 +0000
commita32521b767c799b2530a390662347774809e7a67 (patch)
tree904ecec5e6786e44e9c291bb3717d0a305609e2f /pod/perldata.pod
parent97dc7d3e75fba5b997341633941459733ca2a7a1 (diff)
downloadperl-a32521b767c799b2530a390662347774809e7a67.tar.gz
Document that $^V is no longer a v-string
From: "Jan Dubois" <jand@activestate.com> Message-ID: <007501c840cc$99b940e0$cd2bc2a0$@com> p4raw-id: //depot/perl@32631
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r--pod/perldata.pod7
1 files changed, 3 insertions, 4 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod
index 29004f04d0..7dcb5a98db 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -390,10 +390,9 @@ more dots in the literal, the leading C<v> may be omitted.
print 102.111.111; # same
Such literals are accepted by both C<require> and C<use> for
-doing a version check. The C<$^V> special variable also contains the
-running Perl interpreter's version in this form. See L<perlvar/$^V>.
-Note that using the v-strings for IPv4 addresses is not portable unless
-you also use the inet_aton()/inet_ntoa() routines of the Socket package.
+doing a version check. Note that using the v-strings for IPv4
+addresses is not portable unless you also use the
+inet_aton()/inet_ntoa() routines of the Socket package.
Note that since Perl 5.8.1 the single-number v-strings (like C<v65>)
are not v-strings before the C<< => >> operator (which is usually used