It is not clear to me what your actual problem is. If you post some example input, your full code, your actual output and desired output, I can try to help you better.
That said, if you set $/, then reading from a filehandle via <$fh> or readline, then that value is used as record separator. If you want to extract actual lines from those strings, you can simply split /\n/, $string them.
In reply to Re: Difficulty using $/ as delimiter
by moritz
in thread Difficulty using $/ as delimiter
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |