in reply to Parsing output from LWP::UserAgent

Maybe HTML::Parser or even WWW::Mechanize can do what you need?

Plankton: 1% Evil, 99% Hot Gas.