Re: A couple of vague LWP questions



> 2) When using LWP::UserAgent to grab the same webpage as above the
> webserver somehow seems able to recognizes the request as coming from

> an "automated tool". Any idea why this might possibly occure with
> LWP::UserAgent but not with LWP::Simple?

It would appear that the trick here is to set USERAGENt to something
other than the default "libwww-perl/#.##". Arbitrarily I chise:

$ua->agent('Mozilla/5.001');

.



Relevant Pages