Oh, what the heck, just for fun:
my %int_to_char; @int_to_char{ 1 .. 26} = (a..z); # get @array my @chars = map { $int_to_char{$_} } @array;
If only because it promises to handle differences in locale nicely ... (mondo inefficient, too =)
In reply to Re: int to ascii
by arturo
in thread int to ascii
by pchou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |