Perl: the Markov chain saw | |
PerlMonks |
Re: JSON::Parse how to warn_only()?by ikegami (Patriarch) |
on Jun 14, 2016 at 16:55 UTC ( [id://1165621]=note: print w/replies, xml ) | Need Help?? |
You are getting the following error message:
It indicates that you need to use the following syntax:
The above simplifies to the following:
To parse the JSON, you need to use that $jp object, so you can't parse_json. You need to use run instead.
That's why warn_only is documented as a method that can be used to modify run.
In Section
Seekers of Perl Wisdom
|
|