in reply to Re^2: Getting past a password prompt in perl
in thread Getting past a password prompt in perl
Are you posting the actual code you're running (presumably tomcatQA.pl)? If not, please do.
Maybe try the following (add before your print $mech->content()) and post the output here?
use Data::Dumper; print Dumper $mech->response; # dump returned HTTP::Response object
One other thing - you don't need to explicitly use HTTP::Request because WWW::Mechanize will use it for you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Getting past a password prompt in perl
by Anonymous Monk on Mar 02, 2011 at 17:44 UTC |