summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-19 07:09:32 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-19 07:09:32 +0000
commitf0af216fc1cc450de0014850eae1a2893448510c (patch)
treedd19705706953d03dad238c027155e63846b79c0 /pod/perldiag.pod
parent4c82ae22ce2b9a6d9891a286b3b4d41b58d56d4e (diff)
downloadperl-f0af216fc1cc450de0014850eae1a2893448510c.tar.gz
produce better error message when \N{...} is used without
"use charnames ..." p4raw-id: //depot/perl@5819
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod11
1 files changed, 4 insertions, 7 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 6f96ec22e2..93b967bc91 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1255,15 +1255,12 @@ workarounds.
inlining. See L<perlsub/"Constant Functions"> for commentary and
workarounds.
-=item constant(%s): %%^H is not localized
-
-(F) When setting compile-time-lexicalized hash %^H one should set the
-corresponding bit of $^H as well.
-
=item constant(%s): %s
-(F) Compile-time-substitutions (such as overloaded constants and
-character names) were not correctly set up.
+(F) The parser found inconsistencies either while attempting to define an
+overloaded constant, or when trying to find the character name specified
+in the C<\N{...}> escape. Perhaps you forgot to load the corresponding
+C<overload> or C<charnames> pragma? See L<charnames> and L<overload>.
=item Copy method did not return a reference