in reply to Returning cookies to a webserver
So have a look at man HTTP::Cookies to get more information...use LWP::UserAgent; use HTTP::Cookies; $ua = LWP::UserAgent->new; $ua->cookie_jar(HTTP::Cookies->new(file => "lwpcookies.txt", autosave => 1)); # and then send requests just as you used to do $res = $ua->request(HTTP::Request->new(GET => "http://www.yah +oo.no")); print $res->status_line, "\n";
| Regards... | Stefan |
| you begin bashing the string with a +42 regexp of confusion | |
|
|---|