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>


Reply via email to