You have a good point. In truth, I wrote that function several months back when I first started exploring perl's syntax. When the question came up, I just grepped for the line and c&p'd it into the answer as a means of demonstrating the concept. I wasn't trying to sell or promote that particular implementation of shuffle.
I am kind of embarrassed to have had to defend it.
In reply to Re: Re: Re: Re: Re: random elements from array - new twist
by BrowserUk
in thread random elements from array - new twist
by felwick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |