in reply to Detect Broken links

Depending on how complex the site in question is you could use either LWP or WWW::Mechanize. If the site in question uses lots of JavaScript see Using WWW::Selenium To Test Or Automate An Ajax Website.

Martin