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

Re^4: Why does foo() evaluate in array context in "${\foo()}"?

by ig (Vicar)
on Apr 23, 2009 at 10:11 UTC ( [id://759502]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Why does foo() evaluate in array context in "${\foo()}"?
in thread Why does foo() evaluate in array context in "${\foo()}"?

Thank you!! for the examples and lucid explanation.

I certainly don't want to restart the If you believe in Lists in Scalar Context, Clap your Hands discussion - which convinced me that "list in scalar context" is disturbing and possibly misleading enough to many people to be worth avoiding. But I have yet found no description better than what you closed with and that, while it might be quite correct, seems less than ideal as a high level abstraction by which to grok Perl. Being verbally oriented, this continues to trouble me.

  • Comment on Re^4: Why does foo() evaluate in array context in "${\foo()}"?

Log In?
Username:
Password:

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

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

    No recent polls found