Don't ask to ask, just ask | |
PerlMonks |
Re: intermix list of itemsby davido (Cardinal) |
on Oct 10, 2004 at 17:04 UTC ( [id://398009]=note: print w/replies, xml ) | Need Help?? |
Since you have the @list of all IP's in your hand at once, wouldn't it be adequate to just perform a Fisher-Yates Shuffle on them? If the goal is simply to not have sequential IP's, and if instead, random order is sufficient, the Fisher Yates shuffle might work great. Dave
In Section
Seekers of Perl Wisdom
|
|