in reply to Re: Read files and convert extracted text to .csvc
in thread Read files and convert extracted text to .csvc

... if the actual text files use some other consistent pattern as the separator between 3-line records like the one you showed, just set $/ to that other pattern ... [Emphases added.]

It's important to remember that $/ does not detect record separators based on a pattern (i.e., a regular expressison) match, but on an exact string match. See discussion in perlvar.