I think it should be possible using the LWP module.
A quick glance at man lwpcook and searching for
'cookies' gives:
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";
So have a look at man HTTP::Cookies to get more information...
| Regards... |
Stefan
|
|
you begin bashing the string with a +42 regexp of confusion
|
|