OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: NEW: www/p5-WWW-Robot

From: Aleksander Piotrowski (aleksander.piotrowskinic.com.pl)
Date: Sat Oct 08 2005 - 03:34:22 CDT


Jasper Lievisse Adriaanse <jaspernedbsd.nl> wrote:

> Please test and comment.

alekneuromancer:tmp $ perl a.pl
WWW::Robot: failed to create User Agent object: LWP::RobotUA from
address required at /usr/local/libdata/perl5/site_perl/WWW/Robot.pm line
1160

Any the code is (taken from manual page):

use WWW::Robot;
   
$robot = new WWW::Robot(
    'NAME' => 'MyRobot',
    'VERSION' => '1.000',
    'EMAIL' => 'fredfoobar.com'
);
  
# ... configure the robot's operation ...
      
$robot->run( 'http://www.foobar.com/' );

Alek
--
Sure, there's a "free" driver, and a non-free management interface, so it's
only half a driver. Pretending to have a production system using a raid card
that with no supportable management interface so you have to reboot to fix
anything is like buying birth control pills in packs of 20. Pretty soon you're
going to take a good fucking on a day you really can't afford it. Period.
 -- Bob Beck, http://archives.neohapsis.com/archives/openbsd/2005-03/1618.html