| [reply] |
| [reply] |
This is cool from an academic standpoint, but what valid piece of code actually uses this? To put it another way, what are you trying to do, apart from turn Perl into a pretzel?
Another question that comes to mind is, did you try the same thing, using brackets so as to guide the compiler to the order you want the operations performed?
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
| [reply] |
How the result becomes as 8. If I execute this manually based on the operator precedence I suspect it should be 9. but I am wondering about the end result, which is 8. I hope, monks will have a better explanation.
Sorry for posting another "meta" reply, but... by any chance... are you doing (link @ GG) it again, jesuashok? Well, if not just don't take any offence, and the referenced links above may be of some interest to you.
| [reply] |
humm, precedence question again. If you add parentheses so: "my $re = (++$val - ($val-- + --$val))" then return value is -11. I dont understand the why of the 8 value. | [reply] |