1st: adds up all the numbers in list, and returns total
Use the sum function from the List::Util module.
2nd is returns the highest number in the list
Use the max function from the List::Util module.
In reply to Re: Subroutine help
by jwkrahn
in thread Subroutine help
by hackernet1337
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |