Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Why does assignment change the result?

by duff (Parson)
on May 23, 2007 at 22:10 UTC ( [id://617125]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Why does assignment change the result?
in thread Why does assignment change the result?

I'm fairly sure it's not special cased. It's essentially what you said. (Look at the associativity see how the context propagates and look at the precedence to see who wins :).

  • Comment on Re^3: Why does assignment change the result?

Replies are listed 'Best First'.
Re^4: Why does assignment change the result?
by blazar (Canon) on May 23, 2007 at 22:25 UTC

    Yes, but then in the example above, why isn't the rightmost element of the list returned instead of its length? There's no array involved.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found