laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If you are a pioneer for Perl6 or P5EE, then i can see the
benefits of encapsulating error conditions into those
glorified goto's known as exceptions. But otherwise,
this just isn't needed in most day to day Perl scripts.
I have no reservations about using another language that actually has those keywords, like Python, Ruby (my new favorite leisure language) or even, ick, Java. And if Perl6 includes 'real' exceptions, then I will use them, but I try to stay true to the spirit of the language, and try-catch in Perl5 is about as useful to me as a switch block. But don't let me stop your quest, it is a noble one. jeffa
In reply to (jeffa) Re: Advantages of OO-ish exception handling..
by jeffa
|
|