This works for me:
use JSON::Parse; my $j = JSON::Parse->new(); $j->warn_only(1); [download]
In reply to Re: JSON::Parse how to warn_only()? by Anonymous Monk in thread JSON::Parse how to warn_only()? by bliako