Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

"When closures capture their context" and "scope gotchas in Javascript"

by clinton (Priest)
on Feb 08, 2008 at 15:41 UTC ( [id://666994]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
        test.pl:
    ...
        > perl test.pl
        Not in Perl you don't
    
  2. or download this
    
    
    ...
        > perl test.pl
        Hello Bob
    
  3. or download this
    
        function sayHello(name) {
    ...
    
        ---> "How confused am I?"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://666994]
Approved by kyle
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-18 14:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found