in reply to Mimic referring URL in LWP?

Hi, you can also use something like:

$res = $ua->request(POST 'https://adwords.google.com/select/main', ['login.userid' => 'test@test.com', 'login.password' => 'testabc', 'cmd' => 'LoginValidation', 'login' => 'Login' ], Referer => $referer );

Also is good point for things like this, to set cookie jar:

my $cookie_jar = HTTP::Cookies->new; my $ua = LWP::UserAgent->new; $ua->cookie_jar($cookie_jar);

Hope that this will help you.
Regards
Li Tin O've Weedle
mad Tsort's philosopher

Replies are listed 'Best First'.
Re: Re: Mimic referring URL in LWP?
by inblosam (Monk) on Jun 20, 2002 at 16:12 UTC
    Thanks for the suggestion. It didn't seem to make a difference, unfortunately. Could there be something else that I need to set that google may be checking for?

    Michael Jensen
    michael at inshift.com
    http://www.inshift.com