@@ -1652,7 +1652,7 @@ becomes
1652
1652
1653
1653
{ my $x; sub f { return $x++ } }
1654
1654
1655
- Beginning with perl 5.9.4 , you can also use C<state> variables to have
1655
+ Beginning with perl 5.10.0 , you can also use C<state> variables to have
1656
1656
lexicals that are initialized only once (see L<feature>):
1657
1657
1658
1658
sub f { state $x; return $x++ }
@@ -2664,7 +2664,7 @@ neither as a system call nor an ioctl call (SIOCATMARK).
2664
2664
=item $* is no longer supported
2665
2665
2666
2666
(D deprecated, syntax) The special variable C<$*>, deprecated in older
2667
- perls, has been removed as of 5.9 .0 and is no longer supported. In
2667
+ perls, has been removed as of 5.10 .0 and is no longer supported. In
2668
2668
previous versions of perl the use of C<$*> enabled or disabled multi-line
2669
2669
matching within a string.
2670
2670
@@ -2676,7 +2676,7 @@ then all regular expressions behaved as if they were written using C</m>.)
2676
2676
=item $# is no longer supported
2677
2677
2678
2678
(D deprecated, syntax) The special variable C<$#>, deprecated in older
2679
- perls, has been removed as of 5.9.3 and is no longer supported. You
2679
+ perls, has been removed as of 5.10.0 and is no longer supported. You
2680
2680
should use the printf/sprintf functions instead.
2681
2681
2682
2682
=item '%s' is not a code reference
@@ -4785,10 +4785,10 @@ L<perlref>.
4785
4785
construct. Remember that bracketing delimiters count nesting level.
4786
4786
Missing the leading C<$> from a variable C<$m> may cause this error.
4787
4787
4788
- Note that since Perl 5.9 .0 a // can also be the I<defined-or>
4788
+ Note that since Perl 5.10 .0 a // can also be the I<defined-or>
4789
4789
construct, not just the empty search pattern. Therefore code written
4790
- in Perl 5.9 .0 or later that uses the // as the I<defined-or> can be
4791
- misparsed by pre-5.9 .0 Perls as a non-terminated search pattern.
4790
+ in Perl 5.10 .0 or later that uses the // as the I<defined-or> can be
4791
+ misparsed by pre-5.10 .0 Perls as a non-terminated search pattern.
4792
4792
4793
4793
=item Search pattern not terminated or ternary operator parsed as search pattern
4794
4794
@@ -4977,7 +4977,7 @@ L<perlfunc/setsockopt>.
4977
4977
(F) You tried to assign a reference to a non integer to C<$/>. In older
4978
4978
Perls this would have behaved similarly to setting it to a reference to
4979
4979
a positive integer, where the integer was the address of the reference.
4980
- As of Perl 5.19.9 this is a fatal error, to allow future versions of Perl
4980
+ As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl
4981
4981
to use non-integer refs for more interesting purposes.
4982
4982
4983
4983
=item Setting $/ to a reference to %s as a form of slurp is deprecated, treating as undef
@@ -4988,7 +4988,7 @@ to work the same as setting it to C<undef> but was in fact internally
4988
4988
different, less efficient and with very bad luck could have resulted in
4989
4989
your file being split by a stringified form of the reference.
4990
4990
4991
- In Perl 5.19.9 this was changed so that it would be B<exactly> the same as
4991
+ In Perl 5.20.0 this was changed so that it would be B<exactly> the same as
4992
4992
setting C<$/> to undef, with the exception that this warning would be
4993
4993
thrown.
4994
4994
0 commit comments