in reply to Re: Need to capture return code
in thread Need to capture return code

That statement looks like a redirect into a file (in Unix and NT)?

print $? >> 8, "\n"; #this gives you 10 print $?; #this gives you 2560

OOPS, I meant ->I'm not familiar with this obviously ($?>>8)
Okay I did a search and found it shifts it over 8 digits