in reply to Parse a block of text
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; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parse a block of text
by annie06 (Acolyte) on Jul 07, 2008 at 19:31 UTC | |
by dragonchild (Archbishop) on Jul 08, 2008 at 00:42 UTC |