summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-10-26 10:48:48 -0600
committerKarl Williamson <public@khwilliamson.com>2012-11-11 10:11:33 -0700
commit225fb84f3eb1da83cbc8c79add24882deac79906 (patch)
treea3c99ea2dc93ff68715185c0577cd5c07a539042 /pod
parent699ffc5e6f6d1426d23e60b98f7935ec76291935 (diff)
downloadperl-225fb84f3eb1da83cbc8c79add24882deac79906.tar.gz
charnames: Don't accept illegal :aliases
Now that improper names for characters are an error, we can forbid them at definition time. For the time being allow a colon in the check that continues to be run in toke.c. This will be removed in a future commit.
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 5cac1d15b9..27fb232d61 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2365,6 +2365,12 @@ recognized by Perl or by a user-supplied handler. See L<attributes>.
(F) Only certain characters are valid for character names. The
indicated one isn't. See L<charnames/CUSTOM ALIASES>.
+=item Invalid character in charnames alias definition; marked by <-- HERE in '%s
+
+(F) You tried to create a custom alias for a character name, with
+the C<:alias> option to C<use charnames> and the specified character in
+the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>.
+
=item Invalid conversion in %s: "%s"
(W printf) Perl does not understand the given format conversion. See