title: How can I change File pointer position 4 line back while writing the file using perl?
body: <p>I am writing the file using Perl. There is a situation where after writing 4 lines, I have to go back 4 lines and write something then come back to end of file and again start write. Is there any way to move file handle position line wise?</p>