in reply to Re^9: List::Util::sum() and empty lists... (obvious)
in thread List::Util::sum() and empty lists...
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |