in reply to
Running Applications on a Remote Host
In the absence of a better solution (and I hope there is one!) how about making your remote command also echo its exit status, and then popping that off the end of the captured output?
Comment on
Re: Running Applications on a Remote Host
In Section
Seekers of Perl Wisdom