in reply to Re: Re: $a++ allowed by $a-- is not ! why?
in thread $a++ allowed by $a-- is not ! why?
Considering that broquaint had nothing to do with the decision, and was merely adding info to the thread I think your tone is a touch out of line.
Can you explain why undef is superior to foo or even a fatal error?
I imagine that the reason it was left out was not so much that the answer was indeterminate, but rather in order to avoid countless numbers of users bitching about it not working they way they expect. Better to leave it out on the grounds that to do anything else would just end up wasting more time than it ever could have saved.
Incidentally if you think this is a good behaviour you are of course perfectly entitled to create your own class and use overload to provide it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: $a++ allowed by $a-- is not ! why?
by mAsterdam (Sexton) on Aug 30, 2003 at 23:12 UTC | |
by Anonymous Monk on Aug 31, 2003 at 07:16 UTC | |
by Anonymous Monk on Aug 31, 2003 at 07:19 UTC |