Yes, there's a nifty-keen way to do it with regexes, but this is simpler, less error-prone, and easier for your maintainers to understand.if (/^Info I want/../^Start of Info/) { unless ( /^Start of Info/ ) { print; } }
In reply to Re: Parse a block of text
by dragonchild
in thread Parse a block of text
by annie06
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |