in reply to Advices on doing exception-style programming in Perl?

Block eval is the general way to handle exceptions in Perl, but there are a number of CPAN modules that make it a little prettier and add convenient features. Personally, I like Exception::Class, which lets you define a Java-like exception hierarchy, with the particular advantage that it's not Java.
  • Comment on Re: Advices on doing exception-style programming in Perl?