in reply to Re^4: Use of uninitialized value in substr
in thread Use of uninitialized value in substr
wrapped in scalar,
Not only is there nothing odd with using scalar, substr imposes a scalar context on its fourth arg.
Invokes a non-existant command,
Pointless unless you're arguing we should get rid of the warning entirely. It's an example of a function that returns an error.
As for Can't exec, I didn't know about that warning when I came up with the example earlier.
The point that using PV_sv_undef isn't sufficient to detect an explicit undef stands. I didn't say it wasn't possible to detect an explicit undef, I just said checking PV_sv_undef doesn't cut it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Use of uninitialized value in substr
by BrowserUk (Patriarch) on May 03, 2010 at 21:26 UTC | |
by ikegami (Patriarch) on May 03, 2010 at 23:32 UTC |