in reply to how to automate logins into password protected sites
You want to look into WWW::Mechanize, which makes automating complex website interactions much easier. Also useful might be HTTP::Recorder or my own module, WWW::Mechanize::Shell, which both allow you to interact with the website in a different way and produce a Perl script that replays your actions again.
In Section
Seekers of Perl Wisdom