![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: parsing fileby TexasTess (Beadle) |
on Jul 08, 2002 at 23:23 UTC ( #180348=note: print w/replies, xml ) | Need Help?? |
You can do a while loop and load them into an array..then use the random number generator to randomly select a value from zero to max array index and thus select ONE of them...randomly...
TexasTess "Great Spirits Often Encounter Violent Opposition From Mediocre Minds" --Albert Einstein
In Section
Seekers of Perl Wisdom
|
|