Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 chanting in the Monastery: (5)
As of 2014-08-31 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls