From a32521b767c799b2530a390662347774809e7a67 Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Mon, 17 Dec 2007 00:48:07 -0800 Subject: Document that $^V is no longer a v-string From: "Jan Dubois" Message-ID: <007501c840cc$99b940e0$cd2bc2a0$@com> p4raw-id: //depot/perl@32631 --- pod/perl5100delta.pod | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pod/perl5100delta.pod') 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 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 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 -- cgit v1.2.1