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

Re^3: Context tutorial

by ikegami (Pope)
on Jan 25, 2009 at 17:15 UTC ( #738786=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Context tutorial
in thread Context tutorial

Assigning to the empty list forces list context upon the RHS.

So does system, but you don't see me using system to force list context. Your code supports what I say:

print ( 'a', 'b', foo ); # adcde print +() = ( 'a', 'b', foo ); # nothing

Assigning to the empty list does more than force context. It's not a good choice to force list context.


Comment on Re^3: Context tutorial
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2015-08-28 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (339 votes), past polls