Rafael Garcia-Suarez <[EMAIL PROTECTED]> writes: > Perl currently optimizes sort() in scalar context to do nothing.
Would it not make sense to make it do something instead. I suggest it should return the first element (after sorting). It would make sense to optimize this so that it does not really sort, but just picks the littlest element. Regards, Gisle