Skip to content

Commit ea9d9eb

Browse files
author
Father Chrysostomos
committed
perldiag: Don’t use dev version numbers
Dev versions are an artefact of the developement process.
1 parent eedc0d1 commit ea9d9eb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pod/perldiag.pod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,7 @@ becomes
16521652

16531653
{ my $x; sub f { return $x++ } }
16541654

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
16561656
lexicals that are initialized only once (see L<feature>):
16571657

16581658
sub f { state $x; return $x++ }
@@ -2664,7 +2664,7 @@ neither as a system call nor an ioctl call (SIOCATMARK).
26642664
=item $* is no longer supported
26652665

26662666
(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
26682668
previous versions of perl the use of C<$*> enabled or disabled multi-line
26692669
matching within a string.
26702670

@@ -2676,7 +2676,7 @@ then all regular expressions behaved as if they were written using C</m>.)
26762676
=item $# is no longer supported
26772677

26782678
(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
26802680
should use the printf/sprintf functions instead.
26812681

26822682
=item '%s' is not a code reference
@@ -4785,10 +4785,10 @@ L<perlref>.
47854785
construct. Remember that bracketing delimiters count nesting level.
47864786
Missing the leading C<$> from a variable C<$m> may cause this error.
47874787

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>
47894789
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.
47924792

47934793
=item Search pattern not terminated or ternary operator parsed as search pattern
47944794

@@ -4977,7 +4977,7 @@ L<perlfunc/setsockopt>.
49774977
(F) You tried to assign a reference to a non integer to C<$/>. In older
49784978
Perls this would have behaved similarly to setting it to a reference to
49794979
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
49814981
to use non-integer refs for more interesting purposes.
49824982

49834983
=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
49884988
different, less efficient and with very bad luck could have resulted in
49894989
your file being split by a stringified form of the reference.
49904990

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
49924992
setting C<$/> to undef, with the exception that this warning would be
49934993
thrown.
49944994

0 commit comments

Comments
 (0)