![]() |
|
"be consistent" | |
PerlMonks |
Re^2: File ext numberby ikegami (Patriarch) |
on Mar 19, 2010 at 23:16 UTC ( #829721=note: print w/replies, xml ) | Need Help?? |
No, m// never returns undef. (It could, it just doesn't.)
No, undef DOES convert to zero when used as a number. In fact, when undef is or would be converted to a string ("") or number (0) is when you get that and similar warnings.
In Section
Seekers of Perl Wisdom
|
|