diff options
author | Karen Etheridge <ether@cpan.org> | 2015-07-09 12:10:26 -0700 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2015-07-12 15:27:14 -0400 |
commit | 83c1fffeadddac231b705fc8a420de87fd4f5ea3 (patch) | |
tree | dc836ecd18f7b6485d45361950bb9f4f2513f267 | |
parent | 931a625beed2a34b7d28dca23d41b17e658509d5 (diff) | |
download | perl-83c1fffeadddac231b705fc8a420de87fd4f5ea3.tar.gz |
Document $OLD_PERL_VERSION's history
$OLD_PERL_VERSION was added commented-out in Perl 5.6.0, when $PERL_VERSION
became $^V. It remained unimplemented and undocumented until it was added to
perlvar.pod, in the deprecated section, in 5.13.10. It was then implemented in
English.pm in 5.19.10, but remained undocumented until 5.22.0.
-rw-r--r-- | pod/perl5200delta.pod | 5 | ||||
-rw-r--r-- | pod/perl5220delta.pod | 3 | ||||
-rw-r--r-- | pod/perlvar.pod | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/pod/perl5200delta.pod b/pod/perl5200delta.pod index 56b2be58ab..874d8d10de 100644 --- a/pod/perl5200delta.pod +++ b/pod/perl5200delta.pod @@ -740,6 +740,8 @@ L<encoding> has been upgraded from version 2.6_01 to 2.12. L<English> has been upgraded from version 1.06 to 1.09. +C<$OLD_PERL_VERSION> was added as an alias of C<$]>. + =item * L<Errno> has been upgraded from version 1.18 to 1.20_03. @@ -1456,6 +1458,9 @@ Three L<English> variable names which have long been documented but do not actually exist have been removed from the documentation. These were C<$OLD_PERL_VERSION>, C<$OFMT>, and C<$ARRAY_BASE>. +(Actually, C<OLD_PERL_VERSION> I<does> exist, starting with this revision, but +remained undocumented until perl 5.22.0.) + =back =head3 L<perlxs> diff --git a/pod/perl5220delta.pod b/pod/perl5220delta.pod index 1ac00f3916..52df04b92d 100644 --- a/pod/perl5220delta.pod +++ b/pod/perl5220delta.pod @@ -1614,7 +1614,8 @@ interpreted as Unicode has been updated. C<$]> is no longer listed as being deprecated. Instead, discussion has been added on the advantages and disadvantages of using it versus -C<$^V>. +C<$^V>. C<$OLD_PERL_VERSION> was re-added to the documentation as the long +form of C<$]>. =item * diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 27db7691ac..cc69c3c47a 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -468,6 +468,8 @@ that hasn't been sanity-checked. Mnemonic: Is this version of perl in the right bracket? +The C<$OLD_PERL_VERSION> form was added in Perl v5.20.0. + =item $SYSTEM_FD_MAX =item $^F |