Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by GrandFather (Saint)
on Dec 21, 2020 at 22:20 UTC ( #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
  • Comment on Re^2: How can I convert this raw data to a hash?

Replies are listed 'Best First'.
Re^3: How can I convert this raw data to a hash?
by Haarg (Curate) 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? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2021-10-24 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?