in reply to Re: Use of uninitialized value in substr
in thread Use of uninitialized value in substr
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Use of uninitialized value in substr
by moritz (Cardinal) on May 03, 2010 at 13:00 UTC | |
by BrowserUk (Patriarch) on May 03, 2010 at 13:17 UTC | |
by moritz (Cardinal) on May 03, 2010 at 13:29 UTC | |
by almut (Canon) on May 03, 2010 at 13:53 UTC | |
by BrowserUk (Patriarch) on May 03, 2010 at 13:55 UTC | |
|
Re^3: Use of uninitialized value in substr
by JavaFan (Canon) on May 03, 2010 at 13:11 UTC | |
|
Re^3: Use of uninitialized value in substr
by Jenda (Abbot) on May 03, 2010 at 14:23 UTC |