Here is the code in List::Util
Just as a point of information List::Util will use an XS version if possible, which is considerably faster than the Perl one listed above.
Really there isn't any reason not to use List::Util if its available, and it's been core since 5.007003.
In reply to Re^2: Is this a fair shuffle?
by adrianh
in thread Is this a fair shuffle?
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |