Catch Me If You Can: Sugary exception handling with

Catch Me If You Can: Sugary exception handling with

By Ash Berlin (‎Ash‎) from
Date: Wednesday, 5 August 2009 10:20
Duration: 20 minutes
Target audience: Technical Perl
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: Piers Cawley (‎pdcawley‎), Martin Schipany (‎ElCondor‎), osfameron, Vincent Pit (‎vincent‎), Damian Conway (‎damian‎), Steffen Schwigon (‎renormalist‎), Laurent Dami (‎dami‎), Florian Ragwitz (‎rafl‎), Maroš Kollár (‎maros‎), Peter Makholm (‎brother‎), Luis Rodrigues (‎goblin‎), Casiano Rodriguez-Leon (‎casiano‎), James Laver (‎jjl‎), oleber, Jozef Kutej (‎jozef‎), Éric Cholet (‎echo‎), Marcos Ramos (‎x‎), Andrew Ford, Jose Neta (‎jpn‎), Léon Brocard (‎acme‎), Jose L. Hernandez, Aristotle, Abe Timmerman (‎abeltje‎), Enrique Nell (‎e-nell‎), Rosellyne Worrall (‎rozallin‎), David Faux, Mark Morgan, Alex Kapranoff (‎kappa‎), Flavio Poletti (‎polettix‎), Elizabeth Mattijsen (‎liz‎), Bogdan Lucaciu (‎zamolxes‎), Adrian Arnautu, Damon Davison (‎allolex‎), Daan Baldewijns, Frederico Martins, Markus Wichmann (‎telemorphix‎), Henrik Hald Nørgaard, Jan Henning Thorsen (‎batman‎), Drew Taylor (‎drewbie‎), Ulrich Wisser (‎wisser‎), Oskari Ojala (‎Okko‎), Darius Jokilehto, Jacinta Richardson (‎jarich‎), Chia-liang Kao (‎clkao‎), Jose Plana, Tobias Henoeckl (‎hoeni‎), Christian Westgaard (‎ComLock‎), Bartosz Jakubski (‎migo‎), Marcelo Rodrigues (‎marcelo‎), Markus Förster, Thomas Heine, Cosimo Streppone (‎cosimo‎), Tiago Pedroso, Peter Stoehr,