Thank you in advance, help is appreciated.use Error qw(:try); try { `$create_script $input`; #code that might thrown an exception; return; } catch Error with { my $error_handler = shift; # Get hold of the exception object } exit;
2005-02-16 Janitored by Arunbear - added code tags, as per Monastery guidelines
In reply to error handling by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |