Sure thing. $info{$key} is populated from some JSON fetched from an API call, then decoded, then parsed into perl data objects for handy use within my program.

Here is the output from that added Dump call, just above the output I included before:

SV = PVIV(0x1604e78) at 0x161f2e8 REFCNT = 1 FLAGS = (ROK) IV = 0 RV = 0x14b87a0 SV = PVMG(0x13d6ec0) at 0x14b87a0 REFCNT = 16 FLAGS = (PADMY,OBJECT,IOK,OVERLOAD,pIOK) IV = 0 NV = 0 PV = 0 STASH = 0x1438a90 "JSON::PP::Boolean" PV = 0x14b87a0 "" CUR = 0 LEN = 0 [false] [66616c7365] [] [1] [1]

I take it that the presence of "OVERLOAD" among the flags confirms your suspicion. In parallel with posting this, I'll start reading what I can find, based on the hints in this additional output. Devel::Peek is new to me. Thanks for the pointer.


In reply to Re^2: eq evaluates a variable as equal to two different strings by landru27
in thread eq evaluates a variable as equal to two different strings by landru27

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.