good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How can I add all the numbers in an array with out doing a foreach loop?by btrott (Parson) |
on Jun 09, 2000 at 23:42 UTC ( [id://17413]=note: print w/replies, xml ) | Need Help?? |
Here's a recursive solution:
To be called like:
Originally posted as a Categorized Answer.
In Section
Seekers of Perl Wisdom
|
|