Hm. I'm not sure I'd call having to wrap every use of substr in a no warnings block, more perlish. I'd just go with '' and have done with it.
It just strikes me that as substr is a built-in, it could accept undef as a legitimate parameter.
In reply to Re^2: Use of uninitialized value in substr
by BrowserUk
in thread Use of uninitialized value in substr
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |