in reply to Running a Shell Program from CGI page
if (my $exitstatus=($?>> 8 ) == 0){ # All is well }else{ die "ERROR: Returned $exitstatus from shell"; } [download]
The best defense against logic is ignorance.