Name

max

Synopsis

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
"; # Prints '294'

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.55.137