Re: RobotRules.pm

Tim Bunce (Tim.Bunce@ig.co.uk)
Thu, 10 Aug 1995 03:07:15 +0100


> From: Martijn Koster <mak@victor.nexor.co.uk>
> 
> Just when all the names had settled down... Where shall we put: "Robot
> protocol as implemented in libwww-perl 0.40" from the TODO list?
> 
> Tim's module list suggested WWW::Robots, but that may be a bit general.

I was never comfortable with that name.

> It's not specific to LWP, and we shouldn't really restrict
> it to HTTP either. WWW::RobotRules may be appropriate.
> 
I can live with that.

I'll change it unless anyone shouts.

Has a consensus been reached about other module names (HTTP::* etc)?

>  $robotrules = new RobotRules('MOMspider/1.0');

The method call syntax should be either

	new Class @args;
or
	Class->new(@args);
but
	new Class(@args);

is potentially ambiguous since Class() looks like a function call.

I can't comment on the interface since I don't know anything
about robots.

Tim.

//www.oslonett.no/home/aas/
> 
Tim.