Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 meditating upon the Monastery: (3)
As of 2025-05-23 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.