Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: randomly generating A-Za-z

by dws (Chancellor)
on Oct 12, 2001 at 06:32 UTC ( #118401=note: print w/replies, xml ) Need Help??


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.

Replies are listed 'Best First'.
Re: Re: randomly generating A-Za-z
by virtualsue (Vicar) on Oct 12, 2001 at 13:07 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118401]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2018-06-19 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (115 votes). Check out past polls.

    Notices?