http://qs321.pair.com?node_id=11064


in reply to How can my script accept or decline a cookie?

It should be returning both the page and the cookie. If it's not yet returning the page, it's probably wanting you to remember the cookie, and "click another link".

The LWP package can hold "cookie jars" to automatically send back previously noted cookies. See perldoc lwpcook after installing LWP.