Quite. It's even simpler if you know that List::Util has been in core for the last decade and has its own max() function.
In reply to Re^2: not able to get last index of array
by hippo
in thread not able to get last index of array
by lakshmikant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |