in reply to Accessing dynamic webpages
You need to set redirect_ok() to a true value on the the LWP::UserAgent object and it should take of the redirection for you. You will also need to add a cookie jar so that the appropriate Cookie header is sent. i.e. add this before you call request():
use HTML::Cookie; $ua->redirect_ok(1); $ua->cookie_jar(HTTP::Cookies->new(file => '/tmp/cookies.txt', autosa +ve => 1 ));
/J\
|
|---|
| Replies are listed 'Best First'. |
|---|