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

Re: Context tutorial

by ig (Vicar)
on Jan 24, 2009 at 19:53 UTC ( #738707=note: print w/ replies, xml ) Need Help??


in reply to Context tutorial

You can tell which kind of context an operator has by checking the standard Perl documentation. Every operator that creates a list context has "LIST" in its syntactic description.

Where are these syntactic descriptions? I don't see them in perlop, where some of the descriptions are vague or silent on the issue of context in which operands are evaluated.


Comment on Re: Context tutorial
Replies are listed 'Best First'.
Re^2: Context tutorial
by jdporter (Canon) on Jan 24, 2009 at 22:03 UTC

    They're in perlfunc.

    But I do think that that line in the tutorial should probably say

    Every operator that creates a list context for its operands ...
    just to be very clear.

    Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.

      I've updated the tutorial. Thanks for your suggestion!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-08-01 01:42 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 (285 votes), past polls