in reply to Re: Sending a cookie info without a cookie
in thread Sending a cookie info without a cookie
So that means you can do something like (untested!):The module will also export the LWP::UserAgent object as `$ua' if you ask for it explicitly.
But there's not much different there from just using the real LWP::UserAgent.use LWP::Simple qw(get $ua); use HTTP::Cookies; $jar = HTTP::Cookies->new; ... do other things with $jar ... $ua->cookie_jar($jar); ... $result = get $url;
-- Randal L. Schwartz, Perl hacker
|
|---|