summaryrefslogtreecommitdiff
path: root/pod/perl5100delta.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/perl5100delta.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/perl5100delta.pod')
-rw-r--r--pod/perl5100delta.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/perl5100delta.pod b/pod/perl5100delta.pod
index cf90dc939c..a1afa50f39 100644
--- a/pod/perl5100delta.pod
+++ b/pod/perl5100delta.pod
@@ -543,6 +543,14 @@ Previously, F<.pmc> files were loaded only if more recent than the
matching F<.pm> file. Starting with 5.9.4, they'll be always loaded if
they exist.
+=head2 $^V is now a C<version> object instead of a v-string
+
+$^V can still be used with the C<%vd> format in printf, but any
+character-level operations will now access the string representation
+of the C<version> object and not the ordinals of a v-string.
+Expressions like C<< substr($^V, 0, 2) >> or C<< split //, $^V >>
+no longer work and must be rewritten.
+
=head2 @- and @+ in patterns
The special arrays C<@-> and C<@+> are no longer interpolated in regular