good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: simultaneously adding and multiplying numbers in a hash/ arrayby toolic (Bishop) |
on Aug 09, 2010 at 21:20 UTC ( [id://853918]=note: print w/replies, xml ) | Need Help?? |
The following will accumulate the product every time through the loop.
Assignment Operators
In Section
Seekers of Perl Wisdom
|
|