max
max @list
list
Returns the entry in the list with the highest numerical value. If the list is empty, max returns undef:
undef
my @ll = qw(100 294 2 4 95 73); my $max_num = max @ll; print "$max_num "; # Prints '294'
3.147.55.137