Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: JSON not loading Cpanel::JSON::XS

by dasgar (Priest)
on Apr 16, 2018 at 15:52 UTC ( #1213005=note: print w/replies, xml ) Need Help??


in reply to JSON not loading Cpanel::JSON::XS

If you have Cpanel::JSON::XS installed and want JSON to use that module, you might want to look at the Choosing Backend section of JSON's documentation, which provides instructions on how to specify a backend module to use.

Replies are listed 'Best First'.
Re^2: JSON not loading Cpanel::JSON::XS
by 1nickt (Abbot) on Apr 16, 2018 at 16:01 UTC

    Awesome, thanks! RTFM, I guess! So JSON will automatically load JSON::XS if installed, but you have to specify Cpanel::JSON::XS if you want it with PERL_JSON_BACKEND=Cpanel::JSON::XS ...


    The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2021-10-19 03:12 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My first memorable Perl project was:







      Results (76 votes). Check out past polls.

      Notices?