Forum Moderators: coopster & phranque

Message Too Old, No Replies

LWP::UserAgent --> manually setting cookies?

manually setting cookies?

         

affter333

7:05 am on Feb 21, 2004 (gmt 0)



Hi, I am new to perl, I need to solve a problem quick
I'm using LWP::UserAgent, but I need to manually set cookies, for exsample,

domain: www. yahoo. com
cookie: test=yes

How do I do it?

Thanks for your kind answers..

SeanW

3:16 pm on Feb 21, 2004 (gmt 0)

10+ Year Member



Use HTTP::Cookies... The manpage even has code to do what you're asking.

Sean