in reply to Pulling the content of HTML tags

I think HTML::Parser may be just what you need. I haven't used it, but there is a pretty good article about it in the current issue of The Perl Journal It looked very easy to use.

--ZZamboni