Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: why need my in a foreach loop?

by moritz (Cardinal)
on Nov 28, 2010 at 07:47 UTC ( #874081=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #               | declares $x in the scope of the block
    my $lambda = -> $x { $x * $x }
    ...
    
    #          | declares $x in the scope of the block
    sub square($x) { $x * $x }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2014-08-29 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (283 votes), past polls