Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Random letters

by btrott (Parson)
on Apr 12, 2000 at 04:09 UTC ( [id://7353]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @letters = ('a'..'z');
    my $random_letter = $letters[int rand @letters];
    
  2. or download this
    my @letters = ('a'..'z', 'A'..'Z');
    print $letters[int rand @letters], "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://7353]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (9)
As of 2024-04-18 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found