in reply to WWW::Mechanize - error on geting non-existing page

In general you can catch exceptions with the BLOCK form of eval.

  • Comment on Re: WWW::Mechanize - error on geting non-existing page