Don't ask to ask, just ask | |
PerlMonks |
Re: Friendly error trappingby pg (Canon) |
on Sep 13, 2005 at 00:26 UTC ( [id://491426]=note: print w/replies, xml ) | Need Help?? |
"I know that the Perlish way to handle an errors, like writing to a file, is to die, print the error $!, and take the forced exit." Don't think that's the Perlish way, but rather a simple way of giving examples in ones's documentations/posts. I believe that most of the people will not die their programs like this. I don't think you need to worry about the die part too much.
In Section
Seekers of Perl Wisdom
|
|