In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/6ebc3119a0c51a99d17fe549d6a9e07d931a7634?hp=20ddc8c6947e4fe0bcadf94abf657406381e2729>
- Log ----------------------------------------------------------------- commit 6ebc3119a0c51a99d17fe549d6a9e07d931a7634 Author: Karl Williamson <[email protected]> Date: Tue May 23 01:05:13 2017 -0600 perldelta: Add missing messages to list I went through perldiag, and copied over links to these messages that had failed to get placed into perldelta. M pod/perldelta.pod commit a72cf5782682f21b789a1b42845305a22cf04b52 Author: Karl Williamson <[email protected]> Date: Tue May 23 01:03:02 2017 -0600 perldelta: Convert warning to standard form It turns out that this message isn't a generic one, but quite specific, so convert to that and move to sorted position in list. M pod/perldelta.pod commit ef94516c1edc3b1f8de1b8b8841f2f8245830af1 Author: Karl Williamson <[email protected]> Date: Mon May 22 23:57:09 2017 -0600 perldelta: Sort new warnings section alphabetically, after having standardized the entry format M pod/perldelta.pod commit 29480ba4593936d0f031734a331461556bfa1d95 Author: Karl Williamson <[email protected]> Date: Mon May 22 23:56:24 2017 -0600 perldelta: Add 2 blank lines for readability. M pod/perldelta.pod commit 25d191b53fde45cfcf1943d2e32cad8efbfc3ccb Author: Karl Williamson <[email protected]> Date: Mon May 22 23:47:52 2017 -0600 perldelta: Sort new errors section alphabetically, after having made the entries uniform. M pod/perldelta.pod ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 133 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 92 insertions(+), 41 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 8baae0fd49..307d1a92c2 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -1433,37 +1433,24 @@ Document C<@ISA>. Was documented other places, not not in L<perlvar>. =item * -Since C<"."> is now removed from C<@INC> by default, C<do> will now trigger -a warning recommending to fix the C<do> statement: - -L<do "%s" failed, '.' is no longer in @INC|perldiag/do "%s" failed, '.' is no longer in @INC; did you mean do ".E<sol>%s"?> +L<A signature parameter must start with C<'$'>, C<'@'> or C<'%'> +|perldiag/A signature parameter must start with C<'$'>, C<'@'> or C<'%'>> =item * -Using the empty pattern (which re-executes the last successfully-matched -pattern) inside a code block in another regex, as in C</(?{ s!!new! })/>, has -always previously yielded a segfault. It now produces an error: -L<Infinite recursion in regex|perldiag/"Infinite recursion in regex">. +L<Bareword in require contains "%s"|perldiag/"Bareword in require contains "%s""> =item * -L<The experimental declared_refs feature is not enabled|perldiag/"The experimental declared_refs feature is not enabled"> - -(F) To declare references to variables, as in C<my \%x>, you must first enable -the feature: +L<Bareword in require maps to empty filename|perldiag/"Bareword in require maps to empty filename"> - no warnings "experimental::declared_refs"; - use feature "declared_refs"; +=item * -See L</Declaring a reference to a variable>. +L<Bareword in require maps to disallowed filename "%s"|perldiag/"Bareword in require maps to disallowed filename "%s""> =item * -L<Version control conflict marker|perldiag/"Version control conflict marker"> - -(F) The parser found a line starting with C<E<lt>E<lt>E<lt>E<lt>E<lt>E<lt>E<lt>>, -C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a -version control system to mark conflicts after a failed merge operation. +L<Bareword in require must not start with a double-colon: "%s"|perldiag/"Bareword in require must not start with a double-colon: "%s""> =item * @@ -1487,27 +1474,74 @@ Perl yourself. The C<#!> line at the top of your file could look like: =item * -L<Unescaped left brace in regex is illegal here|perldiag/Unescaped left brace in regex is illegal here in regex; marked by S<E<lt>-- HERE> in mE<sol>%sE<sol>> +L<The experimental declared_refs feature is not enabled|perldiag/"The experimental declared_refs feature is not enabled"> -Unescaped left braces are now illegal in some contexts in regular expression -patterns. In other contexts, they are still just deprecated; they will -be illegal in Perl 5.30. +(F) To declare references to variables, as in C<my \%x>, you must first enable +the feature: + + no warnings "experimental::declared_refs"; + use feature "declared_refs"; + +See L</Declaring a reference to a variable>. =item * -L<Bareword in require contains "%s"|perldiag/"Bareword in require contains "%s""> +L<Illegal character following sigil in a subroutine signature +|perldiag/Illegal character following sigil in a subroutine signature> =item * -L<Bareword in require maps to empty filename|perldiag/"Bareword in require maps to empty filename"> +L<Indentation on line %d of here-doc doesn't match delimiter +|perldiag/Indentation on line %d of here-doc doesn't match delimiter> =item * -L<Bareword in require maps to disallowed filename "%s"|perldiag/"Bareword in require maps to disallowed filename "%s""> +L<Infinite recursion in regex|perldiag/"Infinite recursion in regex">. + +Using the empty pattern (which re-executes the last successfully-matched +pattern) inside a code block in another regex, as in C</(?{ s!!new! })/>, has +always previously yielded a segfault. It now produces this error. =item * -L<Bareword in require must not start with a double-colon: "%s"|perldiag/"Bareword in require must not start with a double-colon: "%s""> +L<Malformed UTF-8 string in "%s" +|perldiag/Malformed UTF-8 string in "%s"> + +=item * + +L<Multiple slurpy parameters not allowed +|perldiag/Multiple slurpy parameters not allowed> + +=item * + +L<C<'#'> not allowed immediately following a sigil in a subroutine signature +|perldiag/C<'#'> not allowed immediately following a sigil in a subroutine signature> + +=item * + +L<panic: unknown OA_*: %x +|perldiag/panic: unknown OA_*: %x> + +=item * + +L<The %s function is unimplemented +|perldiag/The %s function is unimplemented> + +=item * + +L<Unescaped left brace in regex is illegal here|perldiag/Unescaped left brace in regex is illegal here in regex; marked by S<E<lt>-- HERE> in mE<sol>%sE<sol>> + +Unescaped left braces are now illegal in some contexts in regular expression +patterns. In other contexts, they are still just deprecated; they will +be illegal in Perl 5.30. + +=item * + +L<Version control conflict marker|perldiag/"Version control conflict marker"> + +(F) The parser found a line starting with C<E<lt>E<lt>E<lt>E<lt>E<lt>E<lt>E<lt>>, +C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a +version control system to mark conflicts after a failed merge operation. =back @@ -1517,9 +1551,8 @@ L<Bareword in require must not start with a double-colon: "%s"|perldiag/"Barewor =item * -L<Use of unassigned code point or non-standalone grapheme for a delimiter will be a fatal error starting in Perl 5.30|perldiag/"Use of unassigned code point or non-standalone grapheme for a delimiter ... [46 chars truncated] - -See L</Deprecations> +L<Can't determine class of operator %s, assuming C<BASEOP> +|perldiag/Can't determine class of operator %s, assuming C<BASEOP>> =item * @@ -1539,6 +1572,12 @@ See L</Declaring a reference to a variable>. =item * +L<do "%s" failed, '.' is no longer in @INC|perldiag/do "%s" failed, '.' is no longer in @INC; did you mean do ".E<sol>%s"?> + +Since C<"."> is now removed from C<@INC> by default, C<do> will now trigger a warning recommending to fix the C<do> statement. + +=item * + L<C<${^ENCODING}> is no longer supported. Its use will be fatal in Perl 5.28|perldiag/"${^ENCODING} is no longer supported. Its use will be fatal in Perl 5.28"> The special variable C<${^ENCODING}>, formerly used to implement @@ -1546,10 +1585,14 @@ the C<encoding> pragma, is no longer supported as of Perl 5.26. =item * -Since C<"."> is now removed from C<@INC> by default, C<do> will now trigger -a warning recommending to fix the C<do> statement: +L<Unescaped literal '%c' in regex; marked by <-- HERE in mE<sol>%sE<sol> +|perldiag/Unescaped literal '%c' in regex; marked by <-- HERE in mE<sol>%sE<sol>> -L<do "%s" failed, '.' is no longer in @INC|perldiag/do "%s" failed, '.' is no longer in @INC; did you mean do ".E<sol>%s"?> +=item * + +L<Use of unassigned code point or non-standalone grapheme for a delimiter will be a fatal error starting in Perl 5.30|perldiag/"Use of unassigned code point or non-standalone grapheme for a delimiter ... [46 chars truncated] + +See L</Deprecations> =back @@ -1569,12 +1612,6 @@ C<@INC> to avoid confusion. =item * -Details as to the exact problem have been added to the diagnostics that -occur when malformed UTF-8 is encountered when trying to convert to a -code point. - -=item * - L<Attribute "locked" is deprecated, and will disappear in Perl 5.28 |perldiag/Attribute "locked" is deprecated, and will disappear in Perl 5.28> @@ -1608,6 +1645,7 @@ L<C<${^ENCODING}> is no longer supported. Its use will be fatal in Perl 5.28 L<Experimental %s on scalar is now forbidden This message now is followed by more helpful text. L<[perl #127976]|https://rt.perl.org/Public/Bug/Display.html?id=127976> |perldiag/Experimental %s on scalar is now forbidden>. + This message now is followed by more helpful text. L<[perl #127976]|https://rt.perl.org/Public/Bug/Display.html?id=127976> @@ -1620,8 +1658,8 @@ L<C<File::Glob::glob()> will disappear in perl 5.30. Use C<File::Glob::bsd_glob( L<%s() is deprecated on C<:utf8> handles. This will be a fatal error in Perl 5.30 |perldiag/%s() is deprecated on C<:utf8> handles. This will be a fatal error in Perl 5.30>. -"%s" is one of C<sysread>, C<recv>, C<syswrite>, or C<send>. +"%s" is one of C<sysread>, C<recv>, C<syswrite>, or C<send>. This warning is now enabled by default, as all C<deprecated> category warnings should be. @@ -1632,6 +1670,19 @@ L<C<$*> is no longer supported. Its use will be fatal in Perl 5.30 =item * +L<C<$#> is no longer supported. Its use will be fatal in Perl 5.30 +|perldiag/C<$#> is no longer supported. Its use will be fatal in Perl 5.30> + +=item * + +L<Malformed UTF-8 character%s +|perldiag/Malformed UTF-8 character%s> + +Details as to the exact problem have been added at the end of this +message + +=item * + L<Opening dirhandle %s also as a file. This will be a fatal error in Perl 5.28 |perldiag/Opening dirhandle %s also as a file. This will be a fatal error in Perl 5.28> -- Perl5 Master Repository
