"be consistent" | |
PerlMonks |
Re^2: resetting a foreach loop!by ikegami (Patriarch) |
on Nov 17, 2017 at 19:16 UTC ( [id://1203701]=note: print w/replies, xml ) | Need Help?? |
Your average specifically checks if no arguments are provided, but doesn't actually handle that situation. Fixed:
Same, but shorter:
In Section
Seekers of Perl Wisdom
|
|