that the module has been around for almost a decade now, I'm not convinced the behaviour is due to an oversight.
Contrary to what's been said, undef is not the same as zero, so fixing it would break backwards compatibility. The greater the length of time since it has been decided, the harder it is to fix. It doesn't lessen the chance of it being an oversight.
In reply to Re^10: List::Util::sum() and empty lists... (obvious)
by ikegami
in thread List::Util::sum() and empty lists...
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |