The stupid question is the question not asked | |
PerlMonks |
Re: How can I add all the numbers in an array with out doing a foreach loop?by KM (Priest) |
on Jun 09, 2000 at 20:31 UTC ( [id://17360]=note: print w/replies, xml ) | Need Help?? |
The loopish way would be like:
or you can do something like (still a loop, but you need to loop in some way for this):
Cheers,
In Section
Seekers of Perl Wisdom
|
|