Text-ASCII-Convert
view release on metacpan or search on metacpan
lib/Text/ASCII/Convert.pm view on Meta::CPAN
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE
file included with this distribution for more information.
You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.
=cut
UNITCHECK {
# build character map from __DATA__ section
while (<DATA>) {
chomp;
my ($key,$value) = split /\s+/;
my $ascii = join('', map { chr(hex($_)) } split /\+/, $value);
$char_map{chr(hex($key))} = $ascii;
}
close DATA;
};
( run in 0.721 second using v1.01-cache-2.11-cpan-748bfb374f4 )