Is object oriented exception handling in Perl worth it?

前端 未结 4 1797
小鲜肉
小鲜肉 2020-12-04 01:32

I recently read \"Object Oriented Exception Handling in Perl\" Perl.com article. Is there any point to use exceptions in Perl?

4条回答
  •  無奈伤痛
    2020-12-04 02:10

    I should note that the article you referenced is old, and that you should now use Exception::Class instead of Error.pm, which is quirky and tends to break (it's what I call "black magick"). I should note that I am now the Error.pm maintainer, but I no longer recommend it or make use of it for my own code.

提交回复
热议问题