Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Hiding, but maintaining variables in user-defined code

by gumpu (Friar)
on May 23, 2001 at 10:00 UTC ( [id://82478]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $test->execute( sub { print "in the local coderef\n";
                          helper(); } );
    
  2. or download this
    sub helper {
        print "in helper\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-24 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found