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?? |
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.
In Section
Seekers of Perl Wisdom
|
|