This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow defining custom charnames to ordinals
authorKarl Williamson <khw@khw-desktop.(none)>
Wed, 30 Jun 2010 20:42:59 +0000 (14:42 -0600)
committerJesse Vincent <jesse@bestpractical.com>
Sun, 4 Jul 2010 20:43:41 +0000 (21:43 +0100)
commit232cbbee26bf464eff66953e51b99f7293f3d676
treefd66880c1628183213a8002d3b22d340663761ad
parentda85ecb8100a34ccc17636776871fafc7a2853bf
Allow defining custom charnames to ordinals

This adds the ability of a user to create a custom alias that maps to a
numeric ordinal value, instead of an official Unicode name.

The number of hashes went up so that is better to refer to them by a
name than a number, so I renamed them.

Also, viacode will return any defined user's alias for an otherwise
unamed code point.

This change is principally so that private use characters can be named
so it is more convenient to use them in Perl.
lib/charnames.pm
lib/charnames.t
pod/perl5133delta.pod