>
> Sorry, my mistake, that should really be:
>
> my ( $smallestNum, $largestNum ) = ( sort { $a <=>
> $b } @numbers )[ 0, -1 ];
>
> Although as I said, the for loop is more efficient.
>I just amazes me as to how *flexable* Perl is. Ron Smith [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
