![]() |
|
"be consistent" | |
PerlMonks |
Re: VB "On Error" Equivalent in Perlby bdimych (Monk) |
on Nov 29, 2007 at 13:30 UTC ( #653830=note: print w/replies, xml ) | Need Help?? |
I may be not exactly right, but in perl, quite the contrary, majority of errors do not make script exit. Most functions return false or undef on error and it can be checked just with "if" operator. Imho, there is rather opposite problem in perl - how to implement exceptions and try/catch
I agree too, that 'eval'+module documentation is the guaranteed right way PS could you provide example
In Section
Seekers of Perl Wisdom
|
|