Subject: | Fails to create an instance |
It seems that LWP::RobotUA has modified and begun to check
LWP::RobotUA->{'from'} contains `@'.
Thus, on create_agent(), the dummy 'FROM' for the new LWP::RobotUA instance should be changed.
--- .orig/WWW/Robot.pm Sat Oct 25 17:24:22 2003
+++ WWW/Robot.pm Sat Oct 25 17:35:57 2003
@@ -1157,7 +1157,7 @@
}
else
{
- eval { $self->{ 'AGENT' } = new LWP::RobotUA( 'NAME', 'FROM' ) };
+ eval { $self->{ 'AGENT' } = new LWP::RobotUA( 'NAME', 'FROM@DUMMY' ) };
if ( not $self->{ 'AGENT' } )
{
$self->warn( "failed to create User Agent object: $EVAL_ERROR\n" );