in reply to Using perl for web actions
Also see Yes, even you can use CPAN. There is very little reason not to use WWW::Mechanize, especially if you already have LWP available.