logo       

Re: Download manager - problem solved: msg#00036

lang.perl.modules.lwp

Subject: Re: Download manager - problem solved

"Octavian Rasnita" <orasnita@xxxxxx> writes:

> I have found how to insert HTTP headers in the line:
>
> $ua->get($url, ":content_file" => $file);
>
> ...But I still can't find how to get and send cookies in other way than
> trying to manually add the headers for Cookies.

Just enable the cookie jar, with $ua->cookie_jar({}), and LWP will
manage the cookies for you.

Regards,
Gisle



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise