in reply to Re^3: Return code from calling qx
in thread Return code from calling qx

..with ends up with this demostrative scripts:
print "the command -->@ARGV<-- returns:\n\n"; qx !@ARGV!; print "\n\n\$? $? (return status)\n", "\$?>>8 ",$?>>8, "(exit value of the subprocess)\n", "\$?&127 ",$?&127,"( which signal, if any, the process died from +)\n", "\$?&128 ",$?&128," (core dump)\n";


Lor*