Solved: First LWP::UserAgent and HTML::Form app.

2010-03-30 Thread Gary Stainburn
Sod's law folks. Posted the question then reviewed what I'd done and found the problem. Mixing three examples gave me the wrong code. Lifted the line straight from the HTML::Form perldoc and it worked. $req=$ua->request($form->click); Gary On Tuesday 30 March 2010 09:41:54 Gary Stainburn wro

First LWP::UserAgent and HTML::Form app.

2010-03-30 Thread Gary Stainburn
Hi folks, I'm trying to write my first proper app using the above modules but following the perldocs/cookbooks I've come to a quick dead stop. According to the perldoc $form->click should generate an object I can pass straight to $ua->post, but when I try that I get the following: Code snippet