Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Did the JSON module change?

by nilesOien (Novice)
on Mar 01, 2018 at 23:48 UTC ( [id://1210206]=note: print w/replies, xml ) Need Help??


in reply to Re: Did the JSON module change?
in thread Did the JSON module change?

Using what you give above, I have JSON.pm version 2.97001

I think that's pretty close to the latest? Also I just installed JSON::XS and it seems like it makes no difference.

EDIT : I take it back, I had screwed up the installation of JSON::XS. When I got it installed correctly, this :

my $data3; $data3->{"num"} = "3"; my $addr = $data3->{"num"} + 7; my $body3 = $json->encode($data3); print $body3;

Does indeed print this :

{ "num" : "3" }

I'm guessing the difference is in the version of the JSON module?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1210206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found