Net::IDN::UTS46::Mapping - Tables from Unicode Technical Standard #46 (UTS #46)
use Net::IDN::UTS46 5.2; # require Unicode 5.2 @Net::IDN::UTS46::Mapping::DEVIATION; @Net::IDN::UTS46::Mapping::DISALLOWED; @Net::IDN::UTS46::Mapping::DISALLOWEDSTD3MAPPED; @Net::IDN::UTS46::Mapping::DISALLOWEDSTD3VALID; @Net::IDN::UTS46::Mapping::IGNORED; @Net::IDN::UTS46::Mapping::MAPPED; @Net::IDN::UTS46::Mapping::VALID; %Net::IDN::UTS46::Mapping::DEVIATION; %Net::IDN::UTS46::Mapping::DISALLOWEDSTD3MAPPED; %Net::IDN::UTS46::Mapping::IGNORED; %Net::IDN::UTS46::Mapping::MAPPED;
The tables are provided as arrays, which contain pairs of Unicode codepoints (as integers) defining the start and end of a Unicode range.
For character classes that have a mapping value, the tables are also provided as a hash, with Unicode codepoint (as an integer) as the key and replacements string (as a UTF8 perl string) as the data.
The tables are suitable as input for Net::IDN::Stringprep.
The $VERSION of this module is based on the underlying Unicode version, i.e. the version is x.yyyzzzvvv referring to Unicode version x.y.z, module version v
$VERSION
x.yyyzzzvvv
x.y.z
v
The module also implements some private functions for Net::IDN::UTS46; these can also be imported (but don't do that).
Claus Färber <CFAERBER@cpan.org>
Copyright 2011 Claus Färber.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Net::IDN::UTS46, Net::IDN::Stringprep, UTS #46 (http://www.unicode.org/reports/tr46/)
__END__
To install Net::IDN::UTS46, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::IDN::UTS46
CPAN shell
perl -MCPAN -e shell install Net::IDN::UTS46
For more information on module installation, please visit the detailed CPAN module installation guide.