Well matematically 0 and undef do have the same value. There's just the fact that Perl-wise the second may sometimes generate a warning. I tend to turn this warning off anyway because IMHO it just gets in the way.
In reply to Re^5: List::Util::sum() and empty lists...
by Jenda
in thread List::Util::sum() and empty lists...
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |