Skip Menu |

This queue is for tickets about the Robot CPAN distribution.

Report information
The Basics
Id: 6008
Status: new
Priority: 0/
Queue: Robot

People
Owner: Nobody in particular
Requestors: sprince [...] pleasenospam.gofilnet.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: LWP::RobotUA from address required
The most recent LWP::RobotUA seems to require a real email address, on line 1160 of Robot.pm the email value is set as 'FROM' leading to $@: "WWW::Robot: failed to create User Agent object: LWP::RobotUA from address required at /usr/lib/perl5/site_perl/5.8.0/WWW/Robot.pm line 1160". Simply updating the 'FROM' field to 'foo@bar.com' fixed the problem - did not investigate further. Updated: WWW/Robot.pm:1160... eval { $self->{ 'AGENT' } = new LWP::RobotUA( 'NAME', 'foo@bar.com' ) }; other info... $ perl -v This is perl, v5.8.0 built for ppc-linux-thread-multi Dist: Robot-0.011 $ uname -a Linux blue 2.4.20-8d #1 Sat Mar 15 19:38:12 EST 2003 ppc ppc ppc GNU/Linux