in reply to Opinions of Error.pm

It doesn't seem too popular - I've yet to find any other CPAN modules using it. Why is that / have I missed something?

There was a long term bug that could cause a memory leak when it was used due to the creation of closures. Do a super search on the module and you should be able to dig up the refs.

Personally I prefer the Exception::Class based modules.

Replies are listed 'Best First'.
Re^2: Opinions of Error.pm
by diotalevi (Canon) on Sep 05, 2006 at 02:36 UTC

    This got fixed sometime during 5.8. Examine the change log to see how new your interpreter has to be. I don't plan to read the changelog for you.

    Also, be very, very careful when writing code that uses the return() call in eval/try/catch. You probably want to mandate that you don't want to use return inside any of those unless you really do know what you're doing.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

      Interesting - will investigate Exception::Class. Thanks for all the replies.
      This got fixed sometime during 5.8. Examine the change log to see how new your interpreter has to be. I don't plan to read the changelog for you.

      I did say "was" :-)