To get the error status from $abc_cmd, you can write:
system($abc_cmd) and die $? >> 8;
You can inspect $? in other ways: see system.
There are other variables you may want to check: see perlvar - Error Variables.
-- Ken
In reply to Re: Accessing an executable from perl script
by kcott
in thread Accessing an executable from perl script
by abcdefg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |