June 2002
Beginner
759 pages
80h 42m
English
max
max @list
Returns the entry in the list with the highest numerical
value. If the list is empty, max returns undef:
my @ll = qw(100 294 2 4 95 73); my $max_num = max @ll; print "$max_num\n"; # Prints '294'