From e6205acacda1effb1f15a20d5852fb6779407af2 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 29 May 2015 15:27:01 -0600 Subject: perldelta: Refactor grouped warnings Several warning messages were in two groups at the end of the warnings section. This commit removes them from their groups and places them individually merged alphabetically with the rest of the messages. --- pod/perldelta.pod | 71 +++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 36 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index d5e8bf308a..ae0a959bcc 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -1907,6 +1907,15 @@ the warning gets raised. =item * +L + +(W locale) You are 1) running under "C"; 2) the current +locale is not a UTF-8 one; 3) you tried to do the designated case-change +operation on the specified Unicode character; and 4) the result of this +operation would mix Unicode and locale rules, which likely conflict. + +=item * + L<:const is experimental|perldiag/":const is experimental"> (S experimental::const_attr) The "const" attribute is experimental. @@ -1954,6 +1963,14 @@ long double formats, or by 64-bit integers not being available =item * +L + +(W locale) You are using the named locale, which is a non-UTF-8 one, and +which perl has determined is not fully compatible with what it can +handle. The second C<%s> gives a reason. + +=item * + L (W overflow) You called C with a number that it could not handle: @@ -2051,6 +2068,15 @@ L<[perl #121025]|https://rt.perl.org/Ticket/Display.html?id=121025>. =item * +L + +This is not a new diagnostic, but in earlier releases was accidentally +not displayed if the transliteration contained wide characters. This is +now fixed, so that you may see this diagnostic in places where you +previously didn't (but should have). + +=item * + L (W locale) You are matching a regular expression using locale rules, @@ -2117,6 +2143,15 @@ inside an attribute handler for an anonymous subroutine. =item * +Ld modifier in transliteration operator|perldiag/"Useless use of /d modifier in transliteration operator"> + +This is not a new diagnostic, but in earlier releases was accidentally +not displayed if the transliteration contained wide characters. This is +now fixed, so that you may see this diagnostic in places where you +previously didn't (but should have). + +=item * + Luse re 'strict'E is experimental|perldiag/"use re 'strict'" is experimental> (S experimental::re_strict) The things that are different when a regular @@ -2163,42 +2198,6 @@ You likely need to figure out how this multi-byte character got mixed up with your single-byte locale (or perhaps you thought you had a UTF-8 locale, but Perl disagrees). -=item * - -The following two warnings for C used to be skipped if the -transliteration contained wide characters, but now they occur regardless of -whether there are wide characters or not: - -Ld modifier in transliteration operator|perldiag/"Useless use of /d modifier in transliteration operator"> - -L - -=item * - -A new C warning category has been created, with the following warning -messages currently in it: - -=over 4 - -=item * - -L - -(W locale) You are using the named locale, which is a non-UTF-8 one, and -which Perl has determined is not fully compatible with Perl. The second -C<%s> gives a reason. - -=item * - -L - -(W locale) You are 1) running under "C"; 2) the current -locale is not a UTF-8 one; 3) you tried to do the designated case-change -operation on the specified Unicode character; and 4) the result of this -operation would mix Unicode and locale rules, which likely conflict. - -=back - =back =head2 Changes to Existing Diagnostics -- cgit v1.2.1