diff options
author | Ricardo Signes <rjbs@cpan.org> | 2015-04-26 20:45:17 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2015-05-05 21:15:02 -0400 |
commit | e7c2b177cd57e006ff6620e8991a89702d1a8911 (patch) | |
tree | 0c17744c313e0265f013aaf03cd3dc3c2702b196 /Porting | |
parent | 621caa3cc46b20eb5a79d126fd545dab92613a92 (diff) | |
download | perl-e7c2b177cd57e006ff6620e8991a89702d1a8911.tar.gz |
perldelta: sort changed warnings
Diffstat (limited to 'Porting')
-rw-r--r-- | Porting/perl5220delta.pod | 76 |
1 files changed, 25 insertions, 51 deletions
diff --git a/Porting/perl5220delta.pod b/Porting/perl5220delta.pod index 4586b80d87..46b6b342ff 100644 --- a/Porting/perl5220delta.pod +++ b/Porting/perl5220delta.pod @@ -1500,8 +1500,11 @@ L<Can't do %s("%s") on non-UTF-8 locale; resolved to "%s".|perldiag/Can't do %s( =item * -B<Unusual use of %s in void context> has been removed. It might -come back in a future release. +<> should be quotes + +This warning has been changed to +L<< <> at require-statement should be quotes|perldiag/"<> at require-statement should be quotes" >> +to make the issue more identifiable. =item * @@ -1515,21 +1518,6 @@ now adds the following note: =item * -B<Possible precedence problem on bitwise %c operator> reworded as -L<Possible precedence problem on bitwise %s operator|perldiag/"Possible precedence problem on bitwise %s operator">. - -=item * - -'"my" variable &foo::bar can't be in a package' has been reworded to say -'subroutine' instead of 'variable'. - -=item * - -"Variable %s will not stay shared" has been changed to say "Subroutine" -when it is actually a lexical sub that will not stay shared. - -=item * - L<Global symbol "%s" requires explicit package name|perldiag/"Global symbol "%s" requires explicit package name (did you forget to declare "my %s"?)"> This message has had '(did you forget to declare "my %s"?)' appended to it, to @@ -1538,6 +1526,11 @@ L<[perl #121638]|https://rt.perl.org/Ticket/Display.html?id=121638> =item * +'"my" variable &foo::bar can't be in a package' has been reworded to say +'subroutine' instead of 'variable'. + +=item * + L<\N{} in character class restricted to one character in regex; marked by S<<-- HERE> in mE<sol>%sE<sol>|perldiag/"\N{} in inverted character class or as a range end-point is restricted to one character in regex; marked by S<<-- HERE> in m/%s/"> This message has had 'character class' changed to 'inverted character class or @@ -1553,22 +1546,13 @@ point number is. =item * -C<require> with no argument or undef used to warn about a Null filename; now -it dies with C<Missing or undefined argument to require>. - -=item * - -L<Variable length lookbehind not implemented in regex mE<sol>%sE<sol>|perldiag/"Variable length lookbehind not implemented in regex m/%s/"> - -Information about Unicode behaviour has been added. +B<Possible precedence problem on bitwise %c operator> reworded as +L<Possible precedence problem on bitwise %s operator|perldiag/"Possible precedence problem on bitwise %s operator">. =item * -<> should be quotes - -This warning has been changed to -L<< <> at require-statement should be quotes|perldiag/"<> at require-statement should be quotes" >> -to make the issue more identifiable. +C<require> with no argument or undef used to warn about a Null filename; now +it dies with C<Missing or undefined argument to require>. =item * @@ -1579,24 +1563,14 @@ the filename. =item * -L<Variable length lookbehind not implemented in regex mE<sol>%sE<sol>|perldiag/"Variable length lookbehind not implemented in regex m/%s/"> - -Information about Unicode behaviour has been added. - -=item * - -<> should be quotes - -This warning has been changed to -L<< <> at require-statement should be quotes|perldiag/"<> at require-statement should be quotes" >> -to make the issue more identifiable. +"Variable %s will not stay shared" has been changed to say "Subroutine" +when it is actually a lexical sub that will not stay shared. =item * -L<Unsuccessful %s on filename containing newline|perldiag/"Unsuccessful %s on filename containing newline"> +L<Variable length lookbehind not implemented in regex mE<sol>%sE<sol>|perldiag/"Variable length lookbehind not implemented in regex m/%s/"> -This warning is now only produced when the newline is at the end of -the filename. +Information about Unicode behaviour has been added. =back @@ -1606,6 +1580,13 @@ the filename. =item * +"Ambiguous use of -foo resolved as -&foo()" + +There is actually no ambiguity here, and this impedes the use of negated +constants; e.g., C<-Inf>. + +=item * + "Constant is not a FOO reference" Compile-time checking of constant dereferencing (e.g., C<< my_constant->() >>) @@ -1613,13 +1594,6 @@ has been removed, since it was not taking overloading into account. L<[perl #69456]|https://rt.perl.org/Ticket/Display.html?id=69456> L<[perl #122607]|https://rt.perl.org/Ticket/Display.html?id=122607> -=item * - -"Ambiguous use of -foo resolved as -&foo()" - -There is actually no ambiguity here, and this impedes the use of negated -constants; e.g., C<-Inf>. - =back =head1 Utility Changes |