Re: LWP and HTTP:Cookie
- --- In perl-beginner@y..., "Saumitra Sarkar" <saumitras@s...> wrote:
> hiI wrote a simple script to log into yahoo, get a cookie, and display the PBML homepage (at the bottom of the message):
> Could u help me to fetch data using LWP and HTTP:Cookie......Actually I
> know key,value and Exp date of Cookie.
> Now my problem is
> 1.) What is format of cookie file that I have to send through
> 2.) How can I send cookie through header?
If you know all the info about the cookie, you could call set_cookie method of HTTP::Cookies.