Trond Michelsen wrote:
> I realize that memoization isn't something you want to do on functions
> that may return different results with the same input. However I'm a bit
> curious of when these functions are useful in sort(), 
>...
>   sort {rand($a) <=> rand($b)} @nums;

Right. 


> Will the above generate a more random list than this?

No, it will generate a more crashed perl.


-- 
John Porter

Reply via email to