# check the html on the page - skip this for brevity $mech->page_links_ok(); html_tidy_ok( $mech->content() );