On Wed, May 23, 2012 at 08:46:13PM +0200, Perl Authors Upload Server wrote: > > The following module was proposed for inclusion in the Module List: > > modid: Try::Tiny::Extended > DSLIP: bdpfo > description: Lighweight and powerful exceptions handling > userid: MYSZ (Marcin Sztolcman) > chapterid: 20 (Control_Flow_Utilities) > communities: > > similar: > Try::Tiny > > rationale: > > Try::Tiny::Extended provides functions for easy exception handling. > It's lightweight like its precursor (Try::Tiny), but has powerfull > capabilities, like catching just some types of exceptions (if raised > exception is an object) or explicit handling of all types of > exceptions.
Isn't that just a smarter catch {} then? Try::Tiny::SmartCatch would make a great name for a module :) -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our Catalyst commercial support, training and consultancy packages could help your team.