in reply to HTML Parsing
CPAN has more then a few parsers. See for example HTML::Parser. Or better use the Super Search facility in the Monastery. This question is asked a lot of times.