I am curious if anyone has had a chance to look at this. Given the error that shows up, the problem seems to be in how the JSON.pm module is accessed.
Thanks!
I am curious if anyone has had a chance to look at this. Given the error that shows up, the problem seems to be in how the JSON.pm module is accessed.
Thanks!
my $json = JSON->new->allow_nonref;
. Then the lines that call $json->decode
need to be changed to call Mojo:JSON::decode_json
instead.Thanks so much Glenn! This worked. I really appreciate it.
I used a double colon after Mojo for anyone reading but followed these directions otherwise exactly.
Mojo::JSON::decode_json
. That was a mistake.