Use
my $status = $?>>8
>From your code, I could not tell how yoy were running MAKE (you were only
processing items in the make file).
So Assuming you were running "make -f my_makefile".
Then this should do it.
#!/opt/local/bin/perl
$foo=`make -f my_makefile`; #you could replace line with system("make -f
my_makefile")
my $status = $?>>8;
print "\n\n fo status = $status\n\n";
__________________
William Ampeh (x3939)
Federal Reserve Board
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
- get external process's output *and* return value Andrew Gaffney
- Re: get external process's output *and* return valu... John W. Krahn
- Re: get external process's output *and* return valu... William.Ampeh
- Re: get external process's output *and* return ... Andrew Gaffney
- Re: get external process's output *and* ret... John W. Krahn
- Re: get external process's output *and*... Andrew Gaffney
- Re: get external process's output *and* return valu... Wiggins d Anconia
- RE: get external process's output *and* return valu... David le Blanc
- Re: get external process's output *and* return ... John W. Krahn
- RE: get external process's output *and* return valu... David le Blanc
