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.


Comment on Re: Be more OO with "Class" modules?
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-10-25 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls