in reply to WWW::Mechanize - Check if link can be followed

Did you read the WWW::Mechanize documentation about the autocheck attribute?

Replies are listed 'Best First'.
Re^2: WWW::Mechanize - Check if link can be followed
by Microcebus (Beadle) on Jun 25, 2013 at 07:37 UTC
    Thanks. I didn't know that. $website=WWW::Mechanize->new(autocheck=>0); did the job.

      You might want to add error checking to your code now, because now WWW::Mechanize will not automatically stop the program when it encounters an error.