in reply to problem with parsing

Hi Anonymous Monk,

have you considered using a module such as HTML::TokeParser::Simple to complete this task. Check out the Tutorials section of this site should you need help installing modules.

Hope this helps.

Also please read the PerlMonks FAQ and How do I post a question effectively?.

Martin