Hello all!

I'm trying to upgrade LWP::UserAgent from 6.05 to 6.38 on my Perl 5.16.3 on Windows 10.
I'm using the command:
cpanm LWP::UserAgent
It fails to build the dependency Net::HTTP.
Here is the end of the log:
t/00-report-prereqs.t .. ok t/http-nb.t ............ skipped: This test doesn't work on Windows t/http.t ............... ok ******************************************************************* Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER together with SSL_ca_file|SSL_ca_path for verification. If you really don't want to verify the certificate and keep the connection open to Man-In-The-Middle attacks please set SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application. ******************************************************************* at t/live-https.t line 34. t/live-https.t ......... ok print() on unopened filehandle GEN1 at B:/PortableApps/CitrusPerl/perl +/lib/IO/Handle.pm line 417. sysread() on unopened filehandle GEN1 at B:/PortableApps/CitrusPerl/pe +rl/lib/IO/Handle.pm line 465. Status read failed: Bad file descriptor at C:\Users\user\.cpanm\work\1 +553969804.11504\Net-HTTP-6.18\blib\lib/Net/HTTP/Methods.pm line 282. # Looks like your test exited with 9 before it could output anything. t/live.t ............... Dubious, test returned 9 (wstat 2304, 0x900) Failed 6/6 subtests Test Summary Report ------------------- t/live.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 6 tests but ran 0. Files=5, Tests=44, 3 wallclock secs ( 0.05 usr + 0.06 sys = 0.11 CP +U) Result: FAIL Failed 1/5 test programs. 0/44 subtests failed. dmake.exe: Error code 137, while making 'test_dynamic' -> FAIL Installing Net::HTTP failed. See C:\Users\user\.cpanm\build.lo +g for details. -> FAIL Installing the dependencies failed: Installed version (6.06) o +f Net::HTTP is not in range '6.18' -> FAIL Bailing out the installation for libwww-perl-6.38. Retry with +--prompt or --force. -> FAIL Installing the dependencies failed: Installed version (6.05) o +f LWP::UserAgent is not in range '6.06' -> FAIL Bailing out the installation for LWP-Protocol-https-6.07. Retr +y with --prompt or --force.
Would someone be kind enough to help me upgrading this module?
I don't understand what's going on.

In reply to Upgrading LWP::UserAgent by Stamm

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.