DreamT has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I want to install a version 6.05 av LWP::UserAgent that supports ua->delete. Unfortunately the current version seems to require perl 6, and the server that should run it doesn't support it. Does anyone know how to install a "semi-new" version of LWP::UserAgent while still running Perl 5? It needs to be done via CPAN.
  • Comment on LWP::UserAgent with delete support but without perl 6?

Replies are listed 'Best First'.
Re: LWP::UserAgent with delete support but without perl 6?
by Corion (Patriarch) on Apr 22, 2014 at 12:37 UTC

    The current version of LWP::UserAgent requires Perl 5.8.1. Where/why did you get the impression that it would need Perl 6?

Re: LWP::UserAgent with delete support but without perl 6?
by marto (Cardinal) on Apr 22, 2014 at 12:41 UTC

    Have you confused the module version with the required Perl version?

      Hi,
      You're probably right, I believe that it's the module version that tricks me;)
      Warning: prerequisite Data::Dump 0 not found. Warning: prerequisite Encode::Locale 0 not found. Warning: prerequisite File::Listing 6 not found. We have 5.837. Warning: prerequisite HTTP::Cookies 6 not found. We have 5.837. Warning: prerequisite HTTP::Daemon 6 not found. We have 5.827. Warning: prerequisite HTTP::Date 6 not found. We have 5.831. Warning: prerequisite HTTP::Negotiate 6 not found. We have 5.835. Warning: prerequisite HTTP::Request 6 not found. We have 5.827. Warning: prerequisite HTTP::Request::Common 6 not found. We have 5.824 +. Warning: prerequisite HTTP::Response 6 not found. We have 5.836. Warning: prerequisite HTTP::Status 6 not found. We have 5.817. Warning: prerequisite LWP::MediaTypes 6 not found. We have 5.835. Warning: prerequisite Net::HTTP 6.04 not found. We have 5.834. Warning: prerequisite WWW::RobotRules 6 not found. We have 5.832.

        Yeah, module versions. IIRC a bunch of modules were moved out of libwww into individual distributrions, for example HTTP::Daemon, WWW::RobotRules.