Hi, I have the following text file: friend|some text here|john|any friend|some other text here|mary|void friend|some text here but broken up into a few lines|simon|any friend|some more text|john|any Question: how do I use perl to rejoin line 3,4,5 so that it becomes one line? thanking you in advance, Vincent