diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-04 17:24:49 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-04 17:24:49 +0000 |
commit | e0a47bd2cb14247750ebc5ca933bb1ba015aa70a (patch) | |
tree | feb12685785610fc26e0613b0bdc2df24c76f4fa /lib/charnames.pm | |
parent | 24f8da60e89a5ed99e35a315aa20cf528ac63c0e (diff) | |
download | perl-e0a47bd2cb14247750ebc5ca933bb1ba015aa70a.tar.gz |
Add the \N{U+HHHH} syntax.
p4raw-id: //depot/perl@9014
Diffstat (limited to 'lib/charnames.pm')
-rw-r--r-- | lib/charnames.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/charnames.pm b/lib/charnames.pm index 875c0a5a94..1bb89b4393 100644 --- a/lib/charnames.pm +++ b/lib/charnames.pm @@ -86,6 +86,9 @@ charnames - define character names for C<\N{named}> string literal escape. use charnames qw(cyrillic greek); print "\N{sigma} is Greek sigma, and \N{be} is Cyrillic b.\n"; + use charnames ...; # either :full or :short will do + print "This is Unicode code point \N{U+263A}\n"; # explicit code point + =head1 DESCRIPTION Pragma C<use charnames> supports arguments C<:full>, C<:short> and |