• Email
  • Like
  • Save
  • Private Content
  • Embed
 

Catch Me If You Can: Sugary Exception Handling in Perl

by

  • 4,245 views

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

Exception handling in perl is currenlty far from perfect. eval leaves a lot to be desired. Lots of {dark,cpan} 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

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

2 Embeds 11

http://www.slideshare.net 10
http://www.mefeedia.com 1

Statistics

Likes
4
Downloads
71
Comments
1
Embed Views
11
Views on SlideShare
4,234
Total Views
4,245

11 of 1 previous next

  • zarthustra7 Sanjay Bhatikar, Senior Manager at Monsanto Are you familiar with Exception::Class? Check my blog: codeunquote.blogger.com where I have a 5-part series on exception handling starting with basics and ending with Best Practices.

    Exception Handling with Exception::Class is a whole new experience. I have made it part of the coding standards at my firm and it has been a substantial factor in improving code quality.

    Cheers!
    3 years ago
    Are you sure you want to
Post Comment
Edit your comment

Catch Me If You Can: Sugary Exception Handling in Perl Catch Me If You Can: Sugary Exception Handling in Perl Presentation Transcript