in reply to LWP/Post with several arguments

This should work:
my $data = [PROGRAM => $PROGRAM, etc...]; my $action = 'http://baygenomics.ucsf.edu/db/cgi-bin/blast/blast.cgi'; my $res = $ua->request(POST($action, $data)); if ($res->is_success) { print $res->content; } else { print "Error: ", $res->status_line, "\n"; }

gav^

Replies are listed 'Best First'.
Re: Re: LWP/Post with several arguments
by scain (Curate) on Mar 04, 2002 at 21:22 UTC
    Thanks, that mostly seems to have done the trick. I at least am getting a response from the web server now, though I am apparently not giving it enough information yet, as the cgi throws an error at me. Fortunatly, I ducked in time, as I have fairly quick reflexes.

    Thanks again,
    Scott

      ++ for humour

      ..Guv