Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Do you know where your variables are?
 
PerlMonks  

Re: int to ascii

by Daddio (Chaplain)
on May 08, 2001 at 00:10 UTC ( [id://78726]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to int to ascii

Then there is always the simple array method:

my @var = ('','a'..'z'); print "$var[$_] " for (1,2,3,10);

Simple, but somewhat effective. Just don't forget to pad the array so the integers line up; otherwise you'll have to use $var[$_ - 1].

--
D a d d i o

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://78726]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.