If each record always starts with "Name:", you could use that as the input record separator, aka $/, and then just read the records one by one from the file...
In reply to Re: proper way of matching multiple line patterns
by Eliya
in thread proper way of matching multiple line patterns
by perlperlperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |