Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Did the JSON module change?

by nilesOien (Novice)
on Mar 01, 2018 at 23:48 UTC ( #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
Node Status?
node history
Node Type: note [id://1210206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2020-02-22 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (99 votes). Check out past polls.

    Notices?