I hope I am not seen as trying to be or indeed being pedantic but the documentation of the JSON::Parse version I was using (0.40) (and before my question, it was the latest at CPAN) stated thus:

warn_only ... This method was added in version 0.38.

(along similar lines the comment by stevieb earlier)

Now, after stevieb had placed a ticket, the latest version is 0.41, apparently the issue has been fixed and the relevant documentation states thus:

This method was documented in version 0.38, but only implemented in ve +rsion 0.41.

MANY THANKS to the author of JSON::Parse (Ben Bullock) for providing the module and fixing this minor but irritating issue in speedy fashion.

bliako

In reply to Re^4: JSON::Parse how to warn_only()? by bliako
in thread JSON::Parse how to warn_only()? by bliako

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.