in reply to Communicating with foreign websites
It's usually used for testing, IIRC, but can be used for stuff like submitting too :)#straight from POD use WWW::Automate; my $agent = WWW::Automate->new(); $agent->get($url); $agent->follow($link); $agent->form($number); $agent->field($name, $value); $agent->click($button); $agent->back(); $agent->add_header($name => $value); print "OK" if $agent->{content} =~ /$expected/;
|
|---|