Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Doubt in the result which I got from (In|De)crement operators

by bones (Acolyte)
on May 14, 2007 at 14:39 UTC ( [id://615325]=note: print w/replies, xml ) Need Help??


in reply to Doubt in the result which I got from (In|De)crement operators

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.
  • Comment on Re: Doubt in the result which I got from (In|De)crement operators

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://615325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2026-01-12 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (116 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.