Don't ask to ask, just ask | |
PerlMonks |
Re: Golf: Adding up array elementsby ioannis (Abbot) |
on Nov 02, 2005 at 16:57 UTC ( [id://505002]=note: print w/replies, xml ) | Need Help?? |
Besides brevity, it might also execute faster since Util.xs informs us that sum() is coded in C, as NV sum(...)
In Section
Seekers of Perl Wisdom
|
|