This is an example. Use it to get a cookie that is valid for the
website then go grab whatever you need
my $ua = LWP::UserAgent->new();
$ua->cookie_jar({ file => "$ENV{HOME}/.cookies.txt" });
my $response = $ua->post("$proto://$ARGV[0]/cgi-bin/login",
{ 'user' => "root", 'pass' => "password" });