From: Abhijit Menon-Sen Date: Wed, 6 Mar 2002 08:30:33 +0000 (+0000) Subject: Subject: Update perlhist.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aa2f2a36dcb82fdf5c3657d2c8532487b8e84bb7;p=p5sagit%2Fp5-mst-13.2.git 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 Date: Wed, 06 Mar 2002 14:56:55 +0800 Message-Id: <3C85BDB7.7050700@stason.org> p4raw-id: //depot/perl@15060 --- diff --git a/pod/perlhist.pod b/pod/perlhist.pod index 1afd0ca..2db0d3a 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 >. 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 ac4ebf8..5d04e22 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 and C for a convenient way to fail if the running Perl interpreter is too old.