in reply to how to follow the redirected web pages?

The docs mention $mech->redirect_ok() - that should do the trick.

Replies are listed 'Best First'.
Re^2: how to follow the redirected web pages?
by yusy (Acolyte) on Mar 13, 2008 at 17:40 UTC
    Thanks! but it says Can't call method "request" on an undefined value at E:/Perl/site/lib/LWP/UserAgent.pm line 545.
      Check line 42