in reply to Array One-liners
Good stuff, but typically we spell that:splice @array, 0, 0, splice(@array, rand @array);
splice is cool, but you don't need to use it for the common thingies.unshift @array, splice @array, rand @array;
-- Randal L. Schwartz, Perl hacker
|
---|