in reply to Re: Help with LWP::UserAgent
in thread Help with LWP::UserAgent

Read the documentation for LWP, LWP::Simple and WWW::Mechanize (and maybe even WWW::Mechanize::Shell). These do what you need, including authentification. WWW::Mechanize::Shell will try its best and write the Perl script for you, but maybe you're better off writing the script using WWW::Mechanize.