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 wrote:
> 2009/5/13 Jim Gibson :
> > On 5/13/09 Wed May 13, 2009 2:17 PM, "ANJAN PURKAYASTHA"
> > scribbled:
> >
>
2009/5/13 Jim Gibson :
> On 5/13/09 Wed May 13, 2009 2:17 PM, "ANJAN PURKAYASTHA"
> scribbled:
>
>> Hi,
>>
>> if ($response->is_success) {
>> print $response->content()."\n"; # or whatever
>> }
>> else {
>> die $response->status_line;
>> }
>>
>> All this script returns is the NCBI
On 5/13/09 Wed May 13, 2009 2:17 PM, "ANJAN PURKAYASTHA"
scribbled:
> Hi,
> Here is a beginner's LWP code that is not working. The script is supposed to
> query the NCBI website with a user defined term: tuberculosis. The term is
> entered into a search box. The user chooses a database from a
ANJAN PURKAYASTHA wrote:
Hi,
Here is a beginner's LWP code that is not working. The script is supposed to
query the NCBI website with a user defined term: tuberculosis. The term is
entered into a search box. The user chooses a database from a drop-down menu
and then hits the Search button.
Here
Hi,
Here is a beginner's LWP code that is not working. The script is supposed to
query the NCBI website with a user defined term: tuberculosis. The term is
entered into a search box. The user chooses a database from a drop-down menu
and then hits the Search button.
Here is the code:
#!/usr/bin/per