in reply to Error module

I still didn't understand how can I return to the try block execution after the catch block finishes, from CPAN:
catch CLASS with BLOCK
BLOCK will be passed two arguments. The first will be the error being thrown. The second is a reference to a scalar variable. If this variable is set by the catch block then, on return from the catch block, try will continue processing as if the catch block was never found.Can anyone help here?
I think you misunderstand what is said there. It doesn't say
"try will continue as if no error was thrown",
but it does say
"try will continue as if no catch block was there".
that means, if you put ${$_[0]} = 1; (set variable) in your catch block, the otherwise BLOCK will be executed as well, and your script will fail (because the error wasn't caught).