| CPAN Ratings TryCatch reviews | |
| Home | Search | About | Bitcard Account | Login |
RSS | Module Info | Add a review of TryCatch
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
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
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|