use POSIX(); system( @cmd ); my $child_exit_status = POSIX::WEXITSTATUS($?);
use System::Command; my @cmd = qw( true ); my $cmd = System::Command->new( @cmd ); $cmd->exit(); # exit status
In reply to Re: connection to database interfering with $?
by Anonymous Monk
in thread connection to database interfering with $?
by jimw54321
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |