Keary Suska <[EMAIL PROTECTED]> writes: > on 7/8/02 10:29 AM, [EMAIL PROTECTED] purportedly said: > > > Hi, > > > > I am testing a simple script to grab cookie. however > > there is only one line as "#LWP-Cookies-1.0" in the > > saved file. what's wrong? > > You have to tell LWP to extract cookies. It doesn't do it automatically.
It is supposed to do it automatically as responses are returned from $ua->simple_request. > The $ua->cookie_jar is *only* to have LWP automatically *send* cookies with > a request, not to extract them. This would be a nice feature though, IMHO. It should do both. Regards, Gisle
