PS With a truly lazy sort you'd be able to do...
($first) = sort { $a wibble $b } @big_list; # in O(n) time.
--
Michael G. Schwern <schwern@pobox.com> http://www.pobox.com/~schwern/
Perl Quality Assurance <perl-qa@perl.org> Kwalitee Is Job One
Some like elmers glue
but it needs reapplying.
I use super glue.
-- tlk
Thread Previous
|
Thread Next