"perldoc -f eval" for more information.eval { require '/home/path/to/upgrade/files/my_code.conf'; }; if ($@) { warn "The require of 'my_code.conf' failed. Here's why: $@\n"; }
In reply to Re: question about checking a script for errors from within a perl program
by drench
in thread question about checking a script for errors from within a perl program
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |