my $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 1 }); $ua->agent('Mozilla/5.0'); $ua->cookie_jar({}); my $response = $ua->get('firstpage.com'); my $response2 = $ua->get('secondpage.com'); (etc) ###This section is where I am having trouble: my $post = $ua->post('https://www.foo.com/downloadAcsReportSearch.html', "Search");