At 03:29 PM 11/14/01 -0800, Gisle Aas wrote:
>> If using LWP::RobotUA how do I set keep_alives?
>> 
>> Should there be a $ua->keep_alive() method?
>
>The LWP::RobotUA constructor should be made to take keyword arguments
>like the LWP::UserAgent now does.
>
>I don't think LWP::RobotUA should have a keep_alive method by itself.
>The question is whether LWP::UserAgent should have it.  I'm not sure
>about that yet.

Right, I was thinking that LWP::UserAgent would have that, since RobotUA
@ISA LWP::UserAgent.  I think it makes good sense for the LWP::RobotUA to
use keep_alives in cases where the delay not used.  I'm just using
LWP::RobotUA to deal with the robots.txt file for me.





Bill Moseley
mailto:[EMAIL PROTECTED]

Reply via email to