This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Autoload charnames for \N{name}
authorKarl Williamson <public@khwilliamson.com>
Mon, 19 Dec 2011 03:45:14 +0000 (20:45 -0700)
committerKarl Williamson <public@khwilliamson.com>
Wed, 21 Dec 2011 05:02:42 +0000 (22:02 -0700)
commitfbb93542d6662666a88828fb4c15803f8ba377f0
tree300d9b114ad07a3281c6575d2abb02b7645389b7
parentf8988b416c244747b17eb3004ac6f8bbcf366e7a
Autoload charnames for \N{name}

This autoloads charnames.pm when needed.  It uses the :full and :short
options.  :loose is not used because of its relative unfamiliarity in
the Perl community, and is slower.  (If someone later added a typical
"use charnames qw(:full)", things that previously matched under :loose
would start to fail, causing confustion.  If :loose does become more
common, we can change this in the future to use it; the converse isn't
true.)

The callable functions in the module are not automatically loaded.  To
access them, an explicity "use charnames" must be provided.

Thanks to Tony Cook for doing a code inspection and finding a missing
SPAGAIN.
lib/charnames.pm
lib/charnames.t
lib/unicore/mktables
pod/perldelta.pod
pod/perldiag.pod
pod/perlrebackslash.pod
pod/perlretut.pod
pod/perlunicode.pod
pod/perluniintro.pod
t/lib/charnames/alias
toke.c