2009/5/13 Jim Gibson <jimsgib...@gmail.com>:
> On 5/13/09 Wed  May 13, 2009  2:17 PM, "ANJAN PURKAYASTHA"
> <anjan.purkayas...@gmail.com> scribbled:
>
>> Hi,
>>
>> if ($response->is_success) {
>>      print $response->content()."\n";  # or whatever
>>  }
>>  else {
>>      die $response->status_line;
>>  }
>>
>> All this script returns is the NCBI homepage.
>
> Try using the URL of the CGI program that processes the form on that page:
>
> <http://www.ncbi.nlm.nih.gov/coreutils/dispatch.cgi>

The URL Jim has given you will work but it will a return a 302 moved.
You'll need to scape the html for the results page.
HTH,
Dp.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to