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 (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