in reply to Re: Problem calling WWW::Mechanize redirect_ok
in thread Problem calling WWW::Mechanize redirect_ok

I found the fix. The problem was in the headers. Here's my code:

$results=$agent->get('http://lhrbod-apdhz001.ad.com/ess/'); print $results->{_headers}->as_string(); print "\n\n"; print $agent->content();