more useful options | |
PerlMonks |
Re: Guard, Scope::Guard and End defunct in perl 5.12?by moritz (Cardinal) |
on Feb 07, 2012 at 15:12 UTC ( [id://952302]=note: print w/replies, xml ) | Need Help?? |
I think you misunderstood what those modules do. What they do is run a closure if a scope is exited with exceptions or control flow. They don't try to execute it under any conditions (and they wouldn't be very successful in case of a SIGKILL or a power failure).
In Section
Seekers of Perl Wisdom
|
|