local $/ = '$$$$'. "\n"; while (){ # $_ contains a record here }