maheshkumar has asked for the wisdom of the Perl Monks concerning the following question:
I need to write a Perl program which takes in account of a Text file and then finds a specific word. Whenever the specific word appears in the file Perl starts to record the lines or data written after that word and ends on another specific word. That means the data between those two words should be copied to another file. Those two sets of words can appear multiple times in the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Extracting specific Data
by marto (Cardinal) on Jun 26, 2012 at 12:07 UTC | |
|
Re: Extracting specific Data
by Athanasius (Archbishop) on Jun 26, 2012 at 12:15 UTC | |
|
Re: Extracting specific Data
by jayto (Acolyte) on Jun 26, 2012 at 13:11 UTC | |
by maheshkumar (Sexton) on Jun 26, 2012 at 13:16 UTC | |
by jayto (Acolyte) on Jun 26, 2012 at 13:24 UTC | |
by maheshkumar (Sexton) on Jun 26, 2012 at 13:36 UTC | |
by maheshkumar (Sexton) on Jun 26, 2012 at 13:56 UTC | |
by Tux (Canon) on Jun 26, 2012 at 14:33 UTC | |
|
Re: Extracting specific Data
by flexvault (Monsignor) on Jun 26, 2012 at 12:44 UTC |