Look into the modules kennethk recommended. I also like to use WWW::Mechanize. The $mech->dump_text; or print $mech->$content; approaches may work for you. The first method displays all of the text on the page, the second displays all of the HTML content of the page- including HTML elements.