summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-23 09:10:43 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-23 09:10:43 +0000
commitdd629d5bb3bd7014585b7aad3c6715a5011673bc (patch)
treee160968eff81a4d95db6304329581b20778209b0 /pod/perlop.pod
parentc737447429a83c6d1354c19959048bc7751d6936 (diff)
downloadperl-dd629d5bb3bd7014585b7aad3c6715a5011673bc.tar.gz
per Larry's idea, parse 1.2.3 as v1.2.3; C<require 5.6.0> and
C<use 5.6.0> work as well; underscores are now permitted in v-strings p4raw-id: //depot/perl@5220
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 7cb3450032..bc6f2ced40 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -1811,6 +1811,9 @@ readable interpolation form C<"\x{1}\x{14}\x{12c}\x{fa0}">. This is useful
for representing Unicode strings, and for comparing version "numbers"
using the string comparison operators, C<cmp>, C<gt>, C<lt> etc.
+If there are more than two dots in the literal, the leading C<v> may be
+omitted.
+
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>.