in reply to Capturing return value and STDOUT from system like calls

my $stdout = `program`; my $return_value = $?;

Replies are listed 'Best First'.
Re: Re: Capturing return value and STDOUT from system like calls
by ctilmes (Vicar) on Apr 16, 2004 at 13:22 UTC
    from system:
    $exit_value = $? >> 8; $signal_num = $? & 127; $dumped_core = $? & 128;