... 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.
In reply to Re^2: Read files and convert extracted text to .csvc
by AnomalousMonk
in thread Read files and convert extracted text to .csvc
by kirkbrown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |