Think about Loose Coupling | |
PerlMonks |
Re: How can I add all the numbers in an array with out doing a foreach loop?by SimonSaysCake (Beadle) |
on Mar 09, 2017 at 16:51 UTC ( [id://1184051]=note: print w/replies, xml ) | Need Help?? |
He's a rather ridiculous solution which avoids using the addition operator. It only works for positive integers.
In Section
Seekers of Perl Wisdom
|
|