Skip Menu |

This queue is for tickets about the Error CPAN distribution.

Report information
The Basics
Id: 45643
Status: rejected
Priority: 0/
Queue: Error

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.17015
Fixed in: (no value)



Subject: try { die; };
use Error qw(:try); try { die; }; Should this die or catch error? -- Alexandr Ciornii, http://chorny.net
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
Resolving as rejected due to lack of response from the original submitter.