Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: How can I convert this raw data to a hash?

by GrandFather (Saint)
on Dec 21, 2020 at 22:20 UTC ( [id://11125580]=note: print w/replies, xml ) Need Help??


in reply to Re: How can I convert this raw data to a hash?
in thread How can I convert this raw data to a hash?

If JSON::PP is in core, why avoid it and suggest code with a caveat that it shouldn't be used due to badness?

Update Correct JSON to JSON::PP - thanks Haarg

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Replies are listed 'Best First'.
Re^3: How can I convert this raw data to a hash?
by Haarg (Priest) on Dec 22, 2020 at 06:39 UTC
Re^3: How can I convert this raw data to a hash?
by NetWallah (Canon) on Dec 21, 2020 at 22:31 UTC
    Some potential excuses:

    • Older perl, missing core JSON
    • Too scared/lazy/ignorant to use JSON
    • Because you can

                    "Imaginary friends are a sign of a mental disorder if they cause distress, including antisocial behavior. Religion frequently meets that description"

      Only "Older perl, missing core JSON " is a real justification, and then only of the OP provides a good reason for not being able to use a newer Perl. Part of our job, as I see it anyway, is to help people overcome scared/ignorant and encourage the right kind of laziness.

      Anything else just looks like XP whoring. :-D

      Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?
Username:
Password:

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

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

    No recent polls found