in reply to String print
You mean: You have a file, where the "pieces" are not separated (as usual) by a newline, but by a special separator string? In this case, setting the input record separator ($/) to this separator string could solve your problem.
|
|---|