From: Jarkko Hietaniemi Date: Wed, 9 Jul 2003 08:08:30 +0000 (+0000) Subject: Rework the perldata vXX => ... entry a bit. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=15ecd4aee763c5eef4038c286267fe051c148238;p=p5sagit%2Fp5-mst-13.2.git Rework the perldata vXX => ... entry a bit. p4raw-id: //depot/perl@20089 --- diff --git a/pod/perldata.pod b/pod/perldata.pod index 785f28e..0aeffc3 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -361,9 +361,12 @@ 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) -are not v-strings before the C<< => >> operator. (They were v-strings -from Perl 5.6.0 to Perl 5.8.0, but that caused more confusion and -breakage than good.) +are not v-strings before the C<< => >> operator (which is used to +separate a hash key from a hash value), instead they are interpreted +as literal strings ('v65'). They were v-strings from Perl 5.6.0 to +Perl 5.8.0, but that caused more confusion and breakage than good. +Multi-number v-strings like C and C<65.66.67> continue to +be v-strings always. =head3 Special Literals