develooper Front page | perl.libwww | Postings from February 2003

LWP::Parallel::RobotUA broken?

From:
=?ISO-8859-1?Q?Marc-Andr=E9?= Dumas
Date:
February 10, 2003 02:45
Subject:
LWP::Parallel::RobotUA broken?
Message ID:
1044828019.15058.13.camel@marc-andre

Hi!

I'm using Parallel::RobotUA and I think there is some incompatibilities
between the latest version of LWP and the lastest version of
LWP::Parallel. I'm using perl 5.6.1. 

'make test' does not test RobotUA, but you'll have many errors if you
try to run t/example2.pl. I created a patch for RobotUA.pm that seems to
work for me.

Thanks!

diff /usr/local/share/perl/5.6.1/LWP/Parallel/RobotUA.pm RobotUA.pm

180c180
<       my $netloc  = eval { local $SIG{__DIE__};
$request->url->host_port; }
---
>       my $netloc  = eval { local $SIG{__DIE__};
$request->url->host_port; };
389c389
<                   $robot_url->params(undef);
---
>                   #$robot_url->params(undef);
458c458
<                                     $request->url->host_port; } # LWP
5.60
---
>                                     $request->url->host_port; }; # LWP
5.60




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About