summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2002-03-06 08:30:33 +0000
committerAbhijit Menon-Sen <ams@wiw.org>2002-03-06 08:30:33 +0000
commitaa2f2a36dcb82fdf5c3657d2c8532487b8e84bb7 (patch)
treeb2d0fb77a278032357c502352c1bad6a4a99cc0b
parent5cda980811d669dacdba880289668534c7f4d161 (diff)
downloadperl-aa2f2a36dcb82fdf5c3657d2c8532487b8e84bb7.tar.gz
Subject: Update perlhist.pod
From: mjd@plover.com Date: 6 Mar 2002 07:11:55 -0000 Message-Id: <20020306071155.10240.qmail@plover.com> Subject: [PATCH pod/perlvar.pod] $^V => string From: Stas Bekman <stas@stason.org> Date: Wed, 06 Mar 2002 14:56:55 +0800 Message-Id: <3C85BDB7.7050700@stason.org> p4raw-id: //depot/perl@15060
-rw-r--r--pod/perlhist.pod21
-rw-r--r--pod/perlvar.pod5
2 files changed, 19 insertions, 7 deletions
diff --git a/pod/perlhist.pod b/pod/perlhist.pod
index 1afd0caea0..2db0d3a23f 100644
--- a/pod/perlhist.pod
+++ b/pod/perlhist.pod
@@ -392,10 +392,16 @@ explained below.
5.004_73 1874 76 1467 152 762 102 506 196 1883 61
5.004_75 1877 76 1467 152 770 103 508 196 1896 62
5.005 1896 76 1469 152 795 103 509 197 1945 63
- 5.005_03 1936 77 1541 153 813 104 551 201 2176 72
- 5.005_50 1969 78 1842 301 795 103 514 198 1948 63
- 5.005_53 1999 79 1885 303 806 104 602 224 2002 67
+ 5.005_03 1936 77 1541 153 813 104 551 201 2176 72
+ 5.005_50 1969 78 1842 301 795 103 514 198 1948 63
+ 5.005_53 1999 79 1885 303 806 104 602 224 2002 67
5.005_56 2086 79 1970 307 866 113 672 238 2221 75
+ 5.6.0 2930 80 2626 364 1096 129 868 281 2841 93
+ 5.7.0 2977 80 2801 425 1250 132 975 307 3206 100
+ 5.6.1 3049 80 3764 484 1924 159 1025 304 3593 119
+ 5.7.1 3351 84 3442 455 1944 167 1334 357 3698 124
+ 5.7.2 3491 87 4858 618 3290 298 1598 449 3910 139
+ 5.7.3 3415 87 5367 630 14448 410 2205 640 4491 148
The "core"..."doc" mean the following files from the Perl source code
distribution. The glob notation ** means recursively, (.) means
@@ -404,7 +410,7 @@ regular files.
core *.[hcy]
lib lib/**/*.p[ml]
ext ext/**/*.{[hcyt],xs,pm}
- t t/**/*(.)
+ t t/**/*(.) (for 1-5.005_56) or **/*.t (for 5.6.0-5.7.3)
doc {README*,INSTALL,*[_.]man{,.?},pod/**/*.pod}
Here are some statistics for the other subdirectories and one file in
@@ -566,8 +572,9 @@ context diff output format.
Jarkko Hietaniemi <F<jhi@iki.fi>>.
Thanks to the collective memory of the Perlfolk. In addition to the
-Keepers of the Pumpkin also Alan Champion, Andreas König, John
-Macdonald, Matthias Neeracher, Jeff Okamoto, Michael Peppler,
-Randal Schwartz, and Paul D. Smith sent corrections and additions.
+Keepers of the Pumpkin also Alan Champion, Mark Dominus,
+Andreas König, John Macdonald, Matthias Neeracher, Jeff Okamoto,
+Michael Peppler, Randal Schwartz, and Paul D. Smith sent corrections
+and additions.
=cut
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index ac4ebf828a..5d04e224a7 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -1077,6 +1077,11 @@ Control.) Example:
warn "No \"our\" declarations!\n" if $^V and $^V lt v5.6.0;
+To convert C<$^V> into its string representation use sprintf()'s
+C<"%vd"> conversion:
+
+ printf "version is v%vd\n", $^V; # Perl's version
+
See the documentation of C<use VERSION> and C<require VERSION>
for a convenient way to fail if the running Perl interpreter is too old.