Figured out the problem - was using libwww-perl-5.76 version...I should
have realized this when default_headers() was not found for User-Agent.
Instead I continued using HTML::Form (instead of Mechanize) and parse()
couldn't find decoded_content(). Got the new version and am able to
perform the
Hello:
I'm able to access a web page using basic authorization. However, when I
click a link to go to the next page (without basic authorization), I get
an 'Unauthorized' error message. I believe its something to do with
cookies which I tried implementing but in vain. Following is the code
snip
Hello:
I'm trying to submit a form with value "abc123?LIST, UID=efg,
PWD=hijk~". This works fine when I submit via a browser. But when I try
to send the same via the following code -
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
my $req=HTTP::Request->new(POST=>"https://xyz.com/servlet