Good evening all!

I am trying to install the perl module 'LWP::Simple'. However, I keep geeting the following error in CPAN whenever I try to run the installation:

HTTP::Request version 6.07 or higher. # If your version isn't good enough, we'll skip those. # Your version is 6.18 and that's good enough t/base/default_content_type.t .. ok t/base/protocols.t ............. ok t/base/protocols/nntp.t ........ 1/1 # Failed test '404 on fake nntp url' # at t/base/protocols/nntp.t line 12. # got: '500' # expected: '404' # Looks like you failed 1 test of 1. t/base/protocols/nntp.t ........ Dubious, test returned 1 (wstat 256, +0x100) Failed 1/1 subtests

I have tried to look for an answer but am drawing a blank after 2 hours of searching. Could someone please advise on the best course of action to resolve this?

EDIT:

I have successfully installed the module, but it now only seems to work with URL's containing HTTP, any HTTPS URL's are registered as an 'unitialized value'. Has anyone else encountered this with LWP::Simple?


In reply to LWP::Simple not installing on MAC OS Mojava by JD

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.