Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Be more OO with "Class" modules?

by chunlou (Curate)
on Jul 30, 2003 at 22:47 UTC ( #279404=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://279404]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2018-02-21 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (279 votes). Check out past polls.

    Notices?