The List::Util module has a good (fast and suitably random) array shuffler, and then three simple pops or shifts will give you the first three choices.
--
[ e d @ h a l l e y . c c ]
In reply to Re: Select three random numbers between 1..10
by halley
in thread Select three random numbers between 1..10
by Perl_User
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |