Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Why does assignment change the result?

by duff (Parson)
on May 23, 2007 at 22:10 UTC ( #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? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2021-10-23 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (86 votes). Check out past polls.

    Notices?