On Sat May 02 09:48:30 2009, CHORNY wrote:
Show quoted text> use Error qw(:try); try { die; };
>
> Should this die or catch error?
>
Well, I don't understand why you'd want to try without having a "catch
{...}" or "otherwise {...}" blocks. It's against the contract of
Error.pm's API. So I guess what Error does is throw the exception
further since it was not caught, which seems reasonable in this context.
What do you want to happen?
Regards,
Shlomi Fish