You're not checking the return value from Unicode::Map->new($CHARSET). Try
my $Map = Unicode::Map->new($CHARSET) or die "Couldn't load Unicode map for '$CHARSET'";
In reply to Re: [error] Can't call method "to8" without a package or object reference at /usr/lib/perl5/tengsl/raun.pm line 2225.\n
by Corion
in thread [error] Can't call method "to8" without a package or object reference at /usr/lib/perl5/tengsl/raun.pm line 2225.\n
by jonb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |