Adam Jackson <[EMAIL PROTECTED]> wrote:

> Anyone know how to change the REFER URL that shows up in the
> http header when you use an LWP Useragent and make a simple
> request for a page? 

You can use the referer() method of the request object:

    my $req = HTTP::Request->new('GET', 'http://www.htmlhelp.com');
    $req->referer('http://www.whatever.com');

It's described (or at least mentioned) in the documentation for 
HTTP::Message and HTTP::Headers.

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to