legend has asked for the wisdom of the Perl Monks concerning the following question:
I want to be able to grab the chunks of text between KEYWORD X to KEYWORD X_END so that I can use regex matching on the whole text. Slurp mode is not being any use. Can someone please suggest me an approach?========KEYWORD 1=========== Text text text ========KEYWORD 1_END======= ========KEYWORD 2=========== Text text text ========KEYWORD 2_END======= ========KEYWORD 3=========== Text text text ========KEYWORD 3_END=======
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading chunks of data and then working on it
by thundergnat (Deacon) on Feb 26, 2008 at 19:45 UTC | |
by legend (Sexton) on Feb 26, 2008 at 20:18 UTC | |
by BrowserUk (Patriarch) on Feb 26, 2008 at 23:15 UTC | |
|
Re: Reading chunks of data and then working on it
by Roy Johnson (Monsignor) on Feb 26, 2008 at 19:45 UTC | |
|
Re: Reading chunks of data and then working on it
by kyle (Abbot) on Feb 26, 2008 at 19:47 UTC | |
|
Re: Reading chunks of data and then working on it
by igelkott (Priest) on Feb 26, 2008 at 19:50 UTC |