Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use WWW::Mechanize::Firefox; my $url = "http://tools.immuneepitope.org/tools/bcell/iedb_input"; my $agent = WWW::Mechanize::Firefox->new( activate => 1, autoclose => 0, ); my $method = 49; my $seq = "ARRRSFASDATRASDFSDARASDAGADFGASDRFREWFASCDSAGAREW"; $agent->get($url); if ( $agent->success() ) { sleep(5); print "Retrieved $url\n"; $agent->form_name('form1'); $agent->set_fields( 'sequence' => $seq,'method' => $method); sleep(5); $agent->submit(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize::Firefox not filling out form
by Corion (Patriarch) on Dec 08, 2010 at 08:45 UTC | |
by Anonymous Monk on Dec 10, 2010 at 16:22 UTC | |
by Corion (Patriarch) on Dec 10, 2010 at 18:59 UTC | |
by Anonymous Monk on Dec 10, 2010 at 19:07 UTC | |
by Corion (Patriarch) on Dec 10, 2010 at 19:44 UTC | |
|
Re: WWW::Mechanize::Firefox not filling out form
by 7stud (Deacon) on Dec 08, 2010 at 03:10 UTC | |
by ikegami (Patriarch) on Dec 08, 2010 at 03:25 UTC |