home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomeJava and XSLTSearch this book

8.41. charnames

Pragma to provide support for \N{charname} escapes. Options are:

:full
Searches for charnames in the list of standard Unicode character names

:short
Searches for charnames in the specified script, with the \N escape expected to be of the form \N{script:charname}

scriptname
Searches for all charnames in script scriptname

For example:

#!/usr/local/bin/perl -w

use charnames ':short';
print "\N{greek:Sigma} is an upper-case sigma.\n";


Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.