You need to take a look at the ord, pack, and chr functions. (Look at the first example for 'pack').
map may also fit into your solution someplace. Hint hint. :)
You don't need to typecast it. Perl is a loosely-typed language. There is no syntax to typecast things in Perl.
stephen
In reply to Re: int to ascii
by stephen
in thread int to ascii
by pchou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |