in reply to Re: How to print data between tags from file sequentially?in thread How to print data between tags from file sequentially?
Good advice, use a proper parser, and I find Mojo::DOM makes things like this trivial, even for odd data.