http://qs321.pair.com?node_id=210640


in reply to Re: Re: Re: Re: random elements from array - new twist
in thread random elements from array - new twist

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.


Nah! You're thinking of Simon Templar, originally played (on UKTV) by Roger Moore and later by Ian Ogilvy