http://qs1969.pair.com?node_id=587915


in reply to Re: How do I shuffle an array?
in thread How do I shuffle an array?

Math::Random::MT::Auto has a shuffle function, as well:
use Math::Random::MT::Auto 'shuffle'; my @cards = 0..51; shuffle(\@cards);

Remember: There's always one more bug.