in reply to Run a subroutine through ssh? (Net::SSH::Perl)
If you can't add code to the test systems then how do you expect to add the code in the Perl and bash scripts?