2009/5/13 Jim Gibson <[email protected]>: > On 5/13/09 Wed May 13, 2009 2:17 PM, "ANJAN PURKAYASTHA" > <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
