Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: scalar in list context

by JavaFan (Canon)
on Jan 26, 2010 at 21:36 UTC ( [id://819783]=note: print w/replies, xml ) Need Help??


in reply to scalar in list context

Whats the point in doing that?
The point is either the list, or the context. The scalar just happens to be part of the expression making the list. Just as in
$foo + 3;
there are two scalars in the arithmetic expression.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-18 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found