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
    I am novice to this area, tried my best for putting all the parameters. Can you check the webpage and see, I am correct or not? I spent lot of time..all in vain till now. Reading more...will appreciate the help.
      Hmm. Please give an address of that webform.
      A reply falls below the community's threshold of quality. You may see it by logging in.
      A reply falls below the community's threshold of quality. You may see it by logging in.
      A reply falls below the community's threshold of quality. You may see it by logging in.