http://qs321.pair.com?node_id=1009925


in reply to Re: Send JSON data to Perl scalar
in thread Send JSON data to Perl scalar

What if I don't print it to a webpage yet. Is there any way that I can just send the data directly to a Perl script?

--perl.j

Replies are listed 'Best First'.
Re^3: Send JSON data to Perl scalar
by Corion (Patriarch) on Dec 21, 2012 at 15:30 UTC

    Neither LWP::Simple nor JSON::Any "print to a web page", so I'm not sure why you think that "printing to a web page" comes into play with the approaches I suggested. Maybe you want to read the documentation of JSON::Any or JSON::XS?