On 12-Mar-2002 Sam Vilain <[EMAIL PROTECTED]> wrote:
> Bollocks, meant to include all my versions:
>
> libwww-perl 5.64
> POE 0.17 (I know 0.18 is out, I use the Debian package)
> PoCoCl::UserAgent 0.04
> ParallelUserAgent-2.51
>
> I think everything except the core POE is up to date. I can dig deeper later.
>
> Cheers,
> Sam.
>
> On Tue, 12 Mar 2002 13:50:41 -0500 (EST)
> [EMAIL PROTECTED] wrote:
>
> > On 12-Mar-2002 Sam Vilain wrote:
> > > Odd number of elements in hash assignment at
> > > /usr/share/perl5/LWP/UserAgent.pm line 163.
> > > Use of uninitialized value in list assignment at
> > > /usr/share/perl5/LWP/UserAgent.pm line 163.
> > >
> > > This seems to be being caused by LWP::Parallel::UserAgent::new(). I
> > > haven't dug deeper than that yet.
> > >
> > > Has anyone else run into this before?
> >
> > I haven't. But my instinct would be to check that you have the most
> > recent LWP::UserAgent installed.
> >
> > -Philip
LWP::Parallel 2.51 does not work with LWP versions newer than 5.53.
However it is very easy to make it work, it needs just two one line
changes.
1. The line 182 of LWP::Parallel::UserAgent.pm needs to be
my $self = new LWP::UserAgent;
instead of
my $self = new LWP::UserAgent $init;
2. You may also need to insert the line
use HTML::HeadParser;
anywhere near the top of LWP::Parallel::Protocol.pm.
HTH.
Kirill