in reply to Re^5: Use of uninitialized value in substr
in thread Use of uninitialized value in substr
"why should you have to for something that could not possibly by "by accident""
Explain. How could your use of undef in your example, be "by accident"?
$s = substr($s,0,1) . undef . substr($s,3);
The rest. Equally misjudged.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |