Keep It Simple, Stupid | |
PerlMonks |
Re: How to use Safe to compile anonymous subsby moritz (Cardinal) |
on Jul 30, 2008 at 19:01 UTC ( [id://701237]=note: print w/replies, xml ) | Need Help?? |
I don't know if that works for you, but you could try to move the evaluation into the subroutine:
This way the reval complains with Can't locate object method "new" via package "IO::File", which seems to me what you want (and a use is caught).
In Section
Seekers of Perl Wisdom
|
|