http://qs321.pair.com?node_id=406147


in reply to Javascript interfering with get() method

Worked around the problem using ::
$URL = "http://www.sweetcombe-ch.co.uk/aspbooking/avail.asp?Propre +f=".$AGENTid."&Classref=".$AGENTid." LOCAL&"; $ua = LWP::UserAgent->new; $ua->cookie_jar(HTTP::Cookies->new(file => "c:/tmp/lib/lwpcookies. +txt", autosave => 1)); $ua->agent("$0/0.1 " . $ua->agent); $ua->agent("Mozilla/8.0"); # pretend we are very capable browser $req = HTTP::Request->new(GET => $URL); $req->header('Accept' => 'text/html'); # send request $res = $ua->request($req); # check the outcome if ($res->is_success) { print $res->content; } else { print "Error: " . $res->status_line . "\n"; }