RSS | Module Info | Add a review of TryCatch

3 out of 3 found this review helpful:

TryCatch (1.001001) *****

Great module for try/catch sugar in perl. I love pairing it with Moose::Util::TypeConstraints to have type based exception handling. Make sure that you have the latest Devel::Declare or you can have some weird issues that won't seem to make any sense.

Frew Schmidt - 2009-09-03T13:07:27

Was this review helpful to you?  Yes No
5 out of 8 found this review helpful:

TryCatch (1.000003) ***

This is a nice attempt and will be much better soon I'm sure. Try does its job, but emits a warning if it's used outside a function (because it doesn't check the return value of "caller").

Unfortunately, for me anyway, the catch block is being called whether or not there is an error. To avoid this I'm using "catch ($e where { $_ }) { ... }" which works fine.

Cooper Vertz - 2009-04-25T16:52:32

Was this review helpful to you?  Yes No


the camel