Dravidan has asked for the wisdom of the Perl Monks concerning the following question:
Hi Perl Monks, How can i wrire an output of a variable ( which contain more than 200 lines) to immediate next line of a file after detecting particular line. For example I want to wrire the variable contents to the target file after detecting the line </TARGET>,consider this line don't have any other value than </TARGET>, and the line number will not be always same for the line </TARGET>.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to write at immediate next line of detecting a particular pattern
by Random_Walk (Prior) on Jan 26, 2014 at 10:29 UTC | |
|
Re: How to write at immediate next line of detecting a particular pattern
by Anonymous Monk on Jan 26, 2014 at 08:42 UTC | |
by Anonymous Monk on Jan 26, 2014 at 08:49 UTC |