in reply to Re: Finding the max()/min()

in thread Finding the max()/min()

Perhaps this will count as "cheating" for the purpose of this thread, but I just do this to find the min/max of a list

;-)use List::Util qw(min max); $min = min @list; $max = max @list;

Replies are listed 'Best First'. | |
---|---|

Re^3: Finding the max()/min() (reduce)
by demerphq (Chancellor) on Nov 11, 2004 at 10:56 UTC |

In Section
Meditations

Comment onRe^2: Finding the max()/min()DownloadCode