in reply to automation of query with lwp
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: automation of query with lwp
by perl.crazy (Initiate) on Nov 26, 2008 at 19:32 UTC | |
by ccn (Vicar) on Nov 26, 2008 at 19:37 UTC | |
| |
| |
|