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

Re^5: If you believe in Lists in Scalar Context, Clap your Hands

by chromatic (Archbishop)
on Oct 24, 2008 at 17:31 UTC ( #719393=note: print w/ replies, xml ) Need Help??


in reply to Re^4: If you believe in Lists in Scalar Context, Clap your Hands
in thread If you believe in Lists in Scalar Context, Clap your Hands

Sure, but you can also argue that 1, 2, 3, isn't a list of values but a list of expressions. Is this a list:

my $x = ($y = 1), ($z = 2);

How about this?

s{\\}{\\\\}g, print

Or this?

foo => scalar param( 'foo' )

It's difficult to tell without seeing the context... which makes me wonder if lists do exist, or if we should talk about the value of expressions instead.


Comment on Re^5: If you believe in Lists in Scalar Context, Clap your Hands
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-07-04 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls