![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: unsorted listby dbwiz (Curate) |
on Apr 24, 2005 at 07:04 UTC ( #450892=note: print w/replies, xml ) | Need Help?? |
You can use rand within the sort code.
Update. I have the (theoretical) feeling that this trick may cause an infinite loop when used with a large array, but a few tests I did returned nothing suspicious. HTH
In Section
Seekers of Perl Wisdom
|
|