Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^9: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20 (demerphq mistaken?)

by ikegami (Patriarch)
on Dec 03, 2013 at 02:28 UTC ( [id://1065355]=note: print w/replies, xml ) Need Help??


in reply to Re^8: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20 (demerphq mistaken?)
in thread use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20

I'm baffled. So you are telling me that I don't know about context in Perl?

I can't comment on what you know, just on what you say.

Context doesn't cause values to be coerced. Operators return different values based on the context. That's why $x = (4,5,6); and @a = (4,5,6); $x = @a; result in different values in $x.

And how, pray, is the "or" resolved? There.

I'm not sure what the means. Are you asking how it's determined when %... evaluates to a hash and when %... evaluates to a list? It's based on the operator that parses it. e.g. keys(%foo) or \%foo vs print(%foo).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-29 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found