![]() |
|
The stupid question is the question not asked | |
PerlMonks |
RE: Random lettersby buzzcutbuddha (Chaplain) |
on Apr 12, 2000 at 17:41 UTC ( #7379=note: print w/replies, xml ) | Need Help?? |
foreach $x ('a' .. 'z') {$alph->{$y} = $x; $y++;}
foreach (0 .. 25) {$b = rand 25; $alph->{int $b}, "\n";}
This will print out 25 random letters from the hash...you can change that to print out however many you want.
Maurice
In Section
Seekers of Perl Wisdom
|
|