Just another Perl shrine | |
PerlMonks |
Re: Re: Re: Protect your subs... from *EVIL*.by diotalevi (Canon) |
on Dec 22, 2003 at 20:51 UTC ( [id://316478]=note: print w/replies, xml ) | Need Help?? |
That's not quite right, globals are still globals even after Sub::Sealed because you only fixup the function's lexicals. In fact, even your lexicals are now globals after being sealed. So this effectively removes lexicals from your function and sneakily replaces them with globals.
In Section
Cool Uses for Perl
|
|