Catch Me If You Can: Sugary exception handling with TryCatch.pm

By Ash Berlin (‎Ash‎) from London.pm
Date: Wednesday, 5 August 2009 10:20
Duration: 20 minutes
Target audience: Technical Perl
Language:
Tags: catch devel::declare exception try

You can find more information on the speaker's site:


Exception handling in perl is currenlty far from perfect. eval leaves a lot to be desired. Lots of darkpan code is rife with pottential code that could interfere with $@

TryCatch (on CPAN now) fixes this through the magic of Devel::Declare.

Breifly address what's wrong with eval, what I/we'd like, and then finally how it was done using Devel::Declare

Attended by: