in reply to output of a system call
One more suggestion. You could do worse than give btrott's Net::SSH::Perl a try. I use it. It rocks :-)