summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-11-23 10:14:22 -0700
committerKarl Williamson <khw@cpan.org>2014-11-24 10:50:26 -0700
commit055bf491ea6f4dcf5702e3c09236b562e2943219 (patch)
treefc4fc80e0c1b904e92d9feac32a8c104d6af84f4
parentfa1e80ba41f52550cc193f33fda5d48962169788 (diff)
downloadperl-055bf491ea6f4dcf5702e3c09236b562e2943219.tar.gz
charnames: Nit in comments, pod
-rw-r--r--lib/_charnames.pm2
-rw-r--r--lib/charnames.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/_charnames.pm b/lib/_charnames.pm
index 26ba0faedf..a800911895 100644
--- a/lib/_charnames.pm
+++ b/lib/_charnames.pm
@@ -298,7 +298,7 @@ sub lookup_name ($$$) {
|| (! defined $hints_ref->{charnames_full}
&& ! defined $hints_ref->{charnames_loose});
- # At runtime, but currently not at compile time, $^H gets
+ # At runtime, but currently not at compile time, %^H gets
# stringified, so un-stringify back to the original data structures.
# These get thrown away by perl before the next invocation
# Also fill in the hash with the non-stringified data.
diff --git a/lib/charnames.pm b/lib/charnames.pm
index 5949b37c67..28e0282788 100644
--- a/lib/charnames.pm
+++ b/lib/charnames.pm
@@ -297,7 +297,7 @@ matched name) or to a
numeric code point (ordinal). The latter is useful for assigning names
to code points in Unicode private use areas such as U+E800 through
U+F8FF.
-A numeric code point must be a non-negative integer or a string beginning
+A numeric code point must be a non-negative integer, or a string beginning
with C<"U+"> or C<"0x"> with the remainder considered to be a
hexadecimal integer. A literal numeric constant must be unsigned; it
will be interpreted as hex if it has a leading zero or contains