You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Milo Hyson <mi...@cyberlifelabs.com> on 2002/02/09 04:23:51 UTC

try/finally without catch

In Graham Barr's Error module, the documentation indicates that finally is 
called after either a successful try block or a catch handler, but says 
nothing about an unsuccessful try block without a catch handler. Does it 
handle this situation or am I forced to create dummy catch blocks whose only 
job is to re-throw the exception so that finally can execute?

-- 
Milo Hyson
CyberLife Labs, LLC