in reply to Re^3: Run a subroutine through ssh? (Net::SSH::Perl)
in thread Run a subroutine through ssh? (Net::SSH::Perl)
I'm no expert, but it doesn't sound possible to me. Here's another idea though. What if on the test boxes you write a CGI program that outputs the data in some format, such as CSV or XML. Then the other machine uses LWP to retrieve the data and run it through the subroutines? You could use IO::Socket if you really wanted to get fancy, but conceptually it's the same thing. That is, you are retrieving the data from one box, parsing it on another.