in reply to Re: Re: Problem with automated form submission
in thread Problem with automated form submission

Take a look at the documentation for HTML::Form, specifically the make_request method, which you can use instead of click.

make_request returns an HTTP::Request object, which you can retrieve the cookies from using HTTP::Cookies module. There's a good summary of how to do this in the lwpcook document that comes with libwww-perl.