in reply to Re: safely passing args through ssh
in thread safely passing args through ssh

Yes - this will work. One issue is that you have to use buffered I/O on the remote side.

If you are able to put the bootstrap program in the command line (via -e), then you can use unbuffered I/O on STDIN, i.e. sysread.

Unless there is a way to safely use sysread(STDIN,...) after perl has read the server program up to __END__ ... (?)