good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: How to use Safe to compile anonymous subsby moritz (Cardinal) |
on Jul 30, 2008 at 19:50 UTC ( [id://701250]=note: print w/replies, xml ) | Need Help?? |
You can by sharing variables. Somehow I didn't manage to do with simply sharing a variable and localizing it, but I'm quite sure it can be done.
This is my workaround for now:
This takes the sideway of sharing a sub that returns the arguments. Not ideal, but at least it works.
In Section
Seekers of Perl Wisdom
|
|