Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^7: How to add a new line after three or four lines from a pattern after getting that patternby thanos1983 (Parson) |
on Apr 03, 2019 at 13:23 UTC ( [id://1232093]=note: print w/replies, xml ) | Need Help?? |
Hello again anirbanphys, If you want to write the output to the file in one line you can do it like this:
You can use the method IO::All/appendln from the same package as you do for reading. Hope this helps, BR.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|