in reply to RobotUA not working
I've checked the documentation and other than the fact that you've reported libwww5.76 and CPAN shows libwww-perl-5.76, I can find no discrepancy between what you have here and what the documentation says you should have.
LWP::RobotUA has a very similar example to what you have. You may want to increase your delay somewhat: you have 1 second; default is 1 minute; doco suggests 10 minutes is being nice! Regardless of this, the syntax and return value are as expected.
LWP::UserAgent states the get() method returns a HTTP::Response object: exactly what you have here.
The HTTP::Response documentation describes the methods this object can invoke. Have a read to find out about retrieving header/content/status/etc. information.
I can't comment on what would have happened last week: you haven't provided details and I wasn't there.
PN5
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RobotUA not working
by mkurtis (Scribe) on Mar 07, 2004 at 02:20 UTC | |
by Prior Nacre V (Hermit) on Mar 07, 2004 at 03:26 UTC | |
by mkurtis (Scribe) on Mar 07, 2004 at 05:46 UTC | |
by Prior Nacre V (Hermit) on Mar 07, 2004 at 06:14 UTC | |
by Prior Nacre V (Hermit) on Mar 07, 2004 at 18:45 UTC | |
by mkurtis (Scribe) on Mar 07, 2004 at 18:54 UTC |