Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re (tilly) 2: how can I access code ref contents, not call it?

by tilly (Archbishop)
on Jan 04, 2001 at 05:55 UTC ( [id://49669]=note: print w/replies, xml ) Need Help??


in reply to Re: how can I access code ref contents, not call it?
in thread how can I access code ref contents, not call it?

If you try that, it is not reliable. In the case of closures there can be considerable context which you miss. Such as which variables are global and which are private lexicals, and in the latter case what are the values of said lexicals.

There will be far fewer scoping games to cope with if you compile it yourself in a known scope.

  • Comment on Re (tilly) 2: how can I access code ref contents, not call it?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found