in reply to using cookies with UserAgent

OK

I discovered this independently (but thanks to kilinrax too).

The problem is that i made the fatal (but very reasonable imho :) assumption that calling:
$cookies = $ua->cookie_jar();
after creation of the useragent ($ua) would return me a blank cookie for my future use. How naive. You need to explicitly create a blank HTTP::Cookie object and forcibly insert it into the useragent.

I love perl but I keep getting burnt by things like this. Perhaps i should use strict after all :)

Thanks

Specimen