The problem is not in your code, but rather in parameters provided to 'search.cgi'. Although HTTP::Request::Common want to array reference not hash reference as parameter to 'POST' sub, there is no difference in the server response
my $Page = $Browser->request(POST $URLtoPostTo,[%Fields]);
Make sure that you pass all parameters as webform do. If it doesn't help than take a look on cookies and agent specification
In reply to Re: automation of query with lwp
by ccn
in thread automation of query with lwp
by perl.crazy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |