List::Util has min and max functions.
In reply to Re: max of N numbers? by revdiablo in thread max of N numbers? by Anonymous Monk