in reply to
Parsing an html file
Not easy to guess why it is not working, without the content of html file. However did you intentionally have only closing </span> tag and not the opening tag?
Comment on
Re: Parsing an html file
In Section
Seekers of Perl Wisdom