in reply to why such an error?
undef is always treated as numeric, and in particular is changed to 0 before incrementing (so that a post-increment of an undef value will return 0 rather than undef).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why such an error?
by lightoverhead (Pilgrim) on Sep 25, 2008 at 20:30 UTC | |
by GrandFather (Saint) on Sep 25, 2008 at 23:24 UTC | |
by rovf (Priest) on Sep 26, 2008 at 08:59 UTC |