i'm looking to run this simple program ( on a different url - which happens to be a login page ). I pass in a valid login & pw, but the content is that of the login page, not the page i'm redirected to when I submit the same info from a browser. please help..
use HTTP::Request::Common qw(POST);
$ua = LWP::UserAgent->new();
my $req = POST 'http://www.perl.com/cgi-bin/cpan_mod'
[ module => 'DB_File', readme => 1 ];
$content = $ua->request($req)->as_string;
print "content: $content