You can use the range operator ".." to get your sections:
while (<DATA>) { if ( /^Start:\s/ .. /^Close:\s/ ) { # here you can collect your lines } }
In reply to Re: File parsing question
by Skeeve
in thread File parsing question
by mmittiga17
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |