List::Util is in the Perl core. Try it out, you should already have it installed.
Otherwise, BrowserUk has given you an alternative method.
In reply to Re^3: Sum of values in an array
by Anonymous Monk
in thread Sum of values in an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |