in reply to Be more OO with "Class" modules?

I wasn't being clear. I don't mean OO modules in general. I meant Error or Errors or Exception::Class like that in particular.

Replies are listed 'Best First'.
Re: Re: Be more OO with "Class" modules?
by perrin (Chancellor) on Jul 30, 2003 at 23:01 UTC
    We just talked about this here. You should avoid the try/catch syntax, in my opinion. Exception::Class or Error without the special syntax are both good though.
      "You should avoid the try/catch syntax, in my opinion"

      Could you please explain your reasoning? I'm not disagreeing with you per se, just curious as to why.