Hi Gary,

On Fri, 10 Nov 2017 09:48:30 +0000
Gary Stainburn <gary.stainb...@ringways.co.uk> wrote:

> On Friday 10 November 2017 00:08:09 SSC_perl wrote:
> > > On Nov 9, 2017, at 2:06 PM, David Precious <dav...@preshweb.co.uk> 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.

While I agree, see http://seriot.ch/parsing_json.php for a roundup of security
problems and inconsistencies in JSON parsers.

>It also helps when combining PERL and PHP apps
> 

"Perl" is not an acronym - see
http://perl-begin.org/learn/Perl-perl-but-not-PERL/ and
https://github.com/perl-doc-cats/perlfaq/blob/master/lib/perlfaq1.pod#whats-the-difference-between-perl-and-perl
 .

Regards,

        Shlomi

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://is.gd/i5eMQd - Emma Watson’s Interview for a Software Dev Job

Chuck Norris once jumped out of a plane, and the parachute did not open. So
instead Chuck Norris opened and brought him and the parachute down safely.
(By Andrew Brehm) — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to