in reply to Re: iso-8859-1 code converter
in thread iso-8859-1 code converter

Equivalent:

use Encode; my $ord = ord decode("EUC", $bytes); $ord = undef if $ord > 255;

But neither implementation is likely to be useful (to anyone in general or to the OP specifically).