Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How can I add all the numbers in an array with out doing a foreach loop?by ack (Deacon) |
on Nov 09, 2009 at 20:32 UTC ( [id://806013]=note: print w/replies, xml ) | Need Help?? |
Can also use map() in a side-effects fashion.
The above code prints:
Originally posted as a Categorized Answer.
In Section
Seekers of Perl Wisdom
|
|