Yes tried the URL; http://www.ncbi.nlm.nih.gov/coreutils/dispatch.cgi. Got a
"302 Found at lwp_test.pl line 23" error message.
Thanks
Anjan

On Wed, May 13, 2009 at 5:57 PM, Dermot <paik...@googlemail.com> wrote:

> 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.
>



-- 
=============================
anjan purkayastha, phd
bioinformatics analyst
whitehead institute for biomedical research
nine cambridge center
cambridge, ma 02142

purkayas [at] wi [dot] mit [dot] edu
703.740.6939

Reply via email to