If you have the source code for this program, you could look for the Perl command that causes Perl to die and change it to the Perl command that causes Perl to print something.
I suspect I may be missing the point of your question though. Are you asking how to handle the exceptional condition? Then look at the documentation for eval. (From the command line, perldoc -f eval or perldoc -f die may help you. Otherwise, you can find perlfunc.pod online in many places.
In reply to Re: how to prevent open from dying
by chromatic
in thread how to prevent open from dying
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |