in reply to Re: Webpage "get" slow with WWW::Mechanize
in thread Webpage "get" slow with WWW::Mechanize

Honestly, I'm not sure how. There's nothing obvious (to me) in the documentation to adjust it. However, I'm pretty infamous for overlooking really obvious things :/
  • Comment on Re^2: Webpage "get" slow with WWW::Mechanize

Replies are listed 'Best First'.
Re^3: Webpage "get" slow with WWW::Mechanize
by hippo (Archbishop) on Nov 16, 2015 at 23:09 UTC

    The page linked in my previous post says:

    WWW::Mechanize is a proper subclass of LWP::UserAgent and you can also use any of LWP::UserAgent's methods.

    So, you can use LWP::UserAgent's timeout method. eg:

    my $ua = WWW::Mechanize->new; $ua->timeout (5);