Re: please help me to check why this perl script does not work!



Fei Li wrote:
I wish to submit some protein sequences via LWP:UserAgent  to the
http://www.cbs.dtu.dk/services/ChloroP/

The error message is given as follows:

<HTML><HEAD><TITLE>Webface Error</TITLE></HEAD><font
color=red><h1>Webface Error: </h1><h4>
Read: Field not declared; 'seqpaste'</h4>
<br>
</font></HTML>

[snip]

        my $response =
$browser->post('http://www.cbs.dtu.dk/cgi-bin/nph-webface',
                      [ "SEQPASTE" => "$item",
                        "submit" => "Submit"]
                        );

Just, a guess, but you're passing "SEQPASTE" when perhaps you should be passing "seqpaste"?


.