Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: Operator Associative in Perl

by ikegami (Pope)
on Jun 03, 2009 at 15:24 UTC ( #768042=note: print w/replies, xml ) Need Help??

in reply to Re: Operator Associative in Perl
in thread Operator Associative in Perl

Perl doesn't define when the variable is incremented or decremented. [...] Perl will not guarantee what the result of the above statements is.

While operand evaluation order isn't documented, the order is the same in all versions on all platforms (intentionally), and changing it would break a lot of code.

perl always evaluates operands from left to right for left-associative operators and exponentiation (**), and from right to left for assignments operators.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-10-30 02:49 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (277 votes). Check out past polls.