Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: JSON::XS Bool issue in mod_perl (XS--)

by ikegami (Pope)
on Mar 02, 2013 at 15:52 UTC ( #1021440=note: print w/replies, xml ) Need Help??


in reply to Re: JSON::XS Bool issue in mod_perl (XS--)
in thread JSON::XS Bool issue in mod_perl

But I recall looking at the code and thinking that the creation of the 'true' and 'false' values should've been done in Perl.

JSON::XS does create true and false in Perl.

our $true = do { bless \(my $dummy = 1), "JSON::XS::Boolean" }; our $false = do { bless \(my $dummy = 0), "JSON::XS::Boolean" }; sub true() { $true } sub false() { $false }

So many the problem can be solved by upgrading the module the OP has installed? In any case, the docs say "This module is not guaranteed to be thread safe".

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021440]
help
Chatterbox?
[Corion]: Oooh. I had hoped that X::Tiny would be an X11 client or X11 server, but it is an exception framework :-)
[MidLifeXis]: How many languages would that 'Ex' alias handle. ETOOCUTE

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2017-02-27 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (383 votes). Check out past polls.