CODE
LIBARY.COM
Home
/
CGI
CGI Maximum Value of an Array
Maximum Value of an Array
sub max { my($max) = shift; foreach (@_) { $max = $_ if $max < $_; } $max; }
sub max { my($max) = shift; foreach (@_) { $max = $_ if $max < $_; } $max; }
Copy to Clipboard
Related Snippets
CGI Random link
CGI IRC Server
CGI Populating a hash from an array
CGI Simple User Counter
CGI Show Online Users
CGI Remove unwanted characters
CGI Add free links
CGI AltaVista Keyword Harvestor
CGI Find the Minimum Value of an Array
CGI Random Text