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 Find the Minimum Value of an Array
CGI OS Version
CGI Random Image Loader
CGI IRC Server
CGI File size
CGI Directory Listing
CGI IRC Bot
CGI Email Subscribe
CGI Credit Card Validator
CGI Capitalize the first word