in reply to Parsing multi-line blocks

This is what? a configuration file for a router or a some sort of network device?

Have you tried searching for the product name or company name, to see if anyone has already written something that deals with it? It might not be on CPAN: use a web search as well.

• another intruder with the mooring in the heart of the Perl