in reply to Re: Getting the text of the html documentin thread Getting the text of the html page
Best to let one of the several CPAN modules do this for you. I'd look at HTML::Strip for starters.