Welcome to the Monastery | |
PerlMonks |
Re: How do I multiply the corresponding elements in two arrays together?by Fang (Pilgrim) |
on Sep 09, 2005 at 21:00 UTC ( [id://490753]=note: print w/replies, xml ) | Need Help?? |
You could use List::MoreUtils:
Be sure to check both array have the same number of elements, or you could get a trail of zeroes:
In Section
Seekers of Perl Wisdom
|
|