diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-01-16 15:05:04 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-01-16 15:35:56 -0700 |
commit | 9816f1212fba0148b8edf3072e3d0b121e313665 (patch) | |
tree | 2c72496ea062897e8760d600b6875f9ab843d04d /pod | |
parent | 78181aa97421459079a91bb4f9e8939c1d56b6f4 (diff) | |
download | perl-9816f1212fba0148b8edf3072e3d0b121e313665.tar.gz |
utf8.c: Reword a warning message
This follows the suggestion by Aristotle Pagaltzis.
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index ed6f7733a0..0ba41a639b 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2525,17 +2525,6 @@ with 'useperlio'. (F) Your machine doesn't implement the sockatmark() functionality, neither as a system call nor an ioctl call (SIOCATMARK). -=item It is deprecated to pass malformed UTF-8 to character classification macros, for "%s" - -(D deprecated, utf8) This message indicates a bug either in the Perl -core or in XS code. Such code was trying to find out if a character, -allegedly stored internally encoded as UTF-8, was of a given type, such -as being punctuation or a digit. But the character was not encoded in -legal UTF-8. The C<%s> is replaced by a string that can be used by -knowledgeable people to determine what the type being checked against -was. If C<utf8> warnings are enabled, a further message is raised, -giving details of the malformation. - =item $* is no longer supported (D deprecated, syntax) The special variable C<$*>, deprecated in older @@ -3807,12 +3796,22 @@ when you meant Remember that "my", "our", "local" and "state" bind tighter than comma. - =item Parsing code internal error (%s) (F) Parsing code supplied by an extension violated the parser's API in a detectable way. +=item Passing malformed UTF-8 to "%s" is deprecated + +(D deprecated, utf8) This message indicates a bug either in the Perl +core or in XS code. Such code was trying to find out if a character, +allegedly stored internally encoded as UTF-8, was of a given type, such +as being punctuation or a digit. But the character was not encoded in +legal UTF-8. The C<%s> is replaced by a string that can be used by +knowledgeable people to determine what the type being checked against +was. If C<utf8> warnings are enabled, a further message is raised, +giving details of the malformation. + =item Pattern subroutine nesting without pos change exceeded limit in regex; marked by <-- HERE in m/%s/ |