in reply to Re^2: WWW::Mechanize follow_link() crashes if no link is found
in thread WWW::Mechanize follow_link() crashes if no link is found

Well, one way would be to always pass a valid link to be followed. The other would be, as is specified in the WWW::Mechanize docs, to set autocheck to 0. Although, this would silence all requests unless they're errors.
  • Comment on Re^3: WWW::Mechanize follow_link() crashes if no link is found