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 Game
CGI Display File Contents
CGI IRC Bot
CGI File Download
CGI Random Image
CGI Capitalize the first word
CGI File size
CGI Simple User Counter
CGI Upload a file
CGI Add free links