in reply to HTTP_REFERER "control"

Yet another question which shows you really need to read up on LWP and HTTP headers in general. It's all there ;-) But ok, a quick'n'dirty example:

use LWP::UserAgent; my $ua = LWP::UserAgent->new(); my $req = HTTP::Request->new( GET => $url ); $req->header(REFERER => "http://faked.referer.invalid"); $ua->request($req);
--
b10m

All code is usually tested, but rarely trusted.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.