SPUG:Max of two floats?

Yitzchak Scott-Thoennes sthoenna at efn.org
Tue Jan 28 19:17:42 CST 2003


On Tue, 28 Jan 2003 12:04:44 -0800 (PST), smorton at pobox.com wrote:
>
>I couldn't find a max(,) function in Perl, so should I use the ?
>operator? I was thinking something like this might be fastest:

use List::Util 'max';

List::Util is part of Scalar-List-Utils, available on CPAN and also
included in the perl distribution as of 5.8.0.



More information about the spug-list mailing list