Look into using the WWW::Mechanize module.
KevinADC 192 Practically a Posting Shark
KevinADC 192 Practically a Posting Shark
MattEvans commented: Good comments & valuable insight; thanks! +1
Mushy-pea commented: Good advice, just the job. +1
sut commented: what can i say? superior solution ;) +1