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: Alexandre Anriot (aanriotatlantilde.com)
Date: Sun Oct 09 2005 - 04:02:41 CDT


> Jasper Lievisse Adriaanse <jaspernedbsd.nl> wrote:
>
> > Please test and comment.

Same comments as for Dilbert, $OpenBSD$ tag and PKG_ARCH=* are missing.

BUILD_DEPENDS are also useless.
 
> 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

Robot.pm try to create a LWP::RobotUA object, but calls the ctor with an
invalid email address (FROM), and a uncaught exception is raised.

Version 0.011 since 1997, I'm not sure that this module is ready for
import..

> 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'r
> e
> 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.htm
> l
>