On Friday 10 November 2017 00:08:09 SSC_perl wrote: > > On Nov 9, 2017, at 2:06 PM, David Precious <[email protected]> wrote: > > > > you'll get whatever the script output to STDOUT. > > Thanks a million, Dave! STDOUT was what I was missing. I've never used > that before, so this was news to me. The remote script now returns a > string that I can manipulate and use in the local script. > > Thanks again, > Frank
I would also look at using JSON for anything other than simple examples. I use this technique extensively for custom peer-to-peer apps. I have even develope a small xinetd service to accept incoming connections. This has then enabled me to use Net::telnet in client scripts to generate interactive services. JSON is a good, consistent method of transferring data. It also helps when combining PERL and PHP apps -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
