summaryrefslogtreecommitdiff
path: root/lib/charnames.pm
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-10-01 10:29:56 -0600
committerKarl Williamson <public@khwilliamson.com>2011-12-14 10:56:56 -0700
commit123148a1e2fb71a4d149331f6e5f0303fcbbfbd1 (patch)
treeb9ad7ef72b2c1efd60eae4911ce6c2292d3e4266 /lib/charnames.pm
parent279aec2be3a1a6540d1b19ca837462185d6d56a0 (diff)
downloadperl-123148a1e2fb71a4d149331f6e5f0303fcbbfbd1.tar.gz
charnames: "Add 'use re "/aa"'
This should add a slight performance improvement, and is usable since all names are ASCII
Diffstat (limited to 'lib/charnames.pm')
-rw-r--r--lib/charnames.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/charnames.pm b/lib/charnames.pm
index ffc84db4fa..682f8b7139 100644
--- a/lib/charnames.pm
+++ b/lib/charnames.pm
@@ -2,10 +2,11 @@ package charnames;
use strict;
use warnings;
use File::Spec;
-our $VERSION = '1.25';
+our $VERSION = '1.26';
use unicore::Name; # mktables-generated algorithmically-defined names
use bytes (); # for $bytes::hint_bits
+use re "/aa"; # Everything in here should be ASCII
# Translate between Unicode character names and their code points.
#