in reply to Guard, Scope::Guard and End defunct in perl 5.12?
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Guard, Scope::Guard and End defunct in perl 5.12?
by mzedeler (Pilgrim) on Feb 07, 2012 at 20:22 UTC |