If you don't care about capturing the text of the error, then you could do something like this:
where ... is replaced by whatever you want to do to handle the error.@z=`perl child.pl -option1 -option2`; if ($?) { ... }
In reply to Re: How to capture compile errors from child program?
by SimonPratt
in thread How to capture compile errors from child program?
by bulrush
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |