in reply to
randomly generating A-Za-z
65 + int rand 55
doesn't do what you seem to expect. "Z" and "a" are not contiguous in ASCII. There are six pesky characters in between.
Consult an ASCII chart for enlightentment.
Comment on
Re: randomly generating A-Za-z
Download
Code
Replies are listed 'Best First'.
Re: Re: randomly generating A-Za-z
by
virtualsue
(Vicar)
on Oct 12, 2001 at 13:07 UTC
Handy webbable ASCII charts:
Useful Hex-ASCII chart and info
A big GIF of the decimal IBM extended ASCII chart
This one's right out of the old IBM PC 'DOS manual, I believe.
Just ++
dws
, this node was just thrown together from an entry in my bookmarks file :)
[reply]
In Section
Seekers of Perl Wisdom