in reply to Communicating with foreign websites

Well, there's always the LWP moduleset but try WWW::Automate instead :)
#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/;
It's usually used for testing, IIRC, but can be used for stuff like submitting too :)

Greetz
Beatnik
...Perl is like sex: if you're doing it wrong, there's no fun to it.