See "$CHILD_ERROR or $?" in perlvar.if (my $exitstatus=($?>> 8 ) == 0){ # All is well }else{ die "ERROR: Returned $exitstatus from shell"; }
The best defense against logic is ignorance.
In reply to Re: Running a Shell Program from CGI page
by NetWallah
in thread Running a Shell Program from CGI page
by sauravrout
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |