Welcome to the Monastery | |
PerlMonks |
Re^5: Die inside Try::Tiny blocksby chromatic (Archbishop) |
on Apr 30, 2013 at 00:44 UTC ( [id://1031298]=note: print w/replies, xml ) | Need Help?? |
So finally blocks aren't in fact good ways to make sure cleanup gets performed? They are, but you're talking about nesting code which may throw exceptions in the finally blocks of exception handlers. How are you going to handle those exceptions? Do they have their own finally blocks? This gets complicated pretty fast.
In Section
Seekers of Perl Wisdom
|
|