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

Yes that helps. Thanks John.

Replies are listed 'Best First'.
Re^4: Return code from calling qx
by Discipulus (Canon) on Oct 28, 2009 at 10:31 UTC
    ..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*