Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 wandering the Monastery: (21)
As of 2015-07-02 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls