in reply to Filling in a form on a web page using perl
Note: your code had 'Algorithem' but the actual field element is 'Algorithm'use WWW::Mechanize; use strict; use warnings; my $mech = WWW::Mechanize->new; my $sequence = '...'; $mech->get('http://www.arabidopsis.org/Blast/'); $mech->submit_form( form_name => 'myForm', fields => { 'Algorithm' => 'blastx', 'BlastTargetSet' => 'ATH1_pep', 'QueryText' => $sequence, }, ); print $mech->content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Filling in a form on a web page using perl
by jonp (Novice) on Aug 18, 2005 at 19:49 UTC |