in reply to Re: Processing slurped file.
in thread Processing slurped file.

Hmmm, surely setting $/ to undef will cause @records to contain just one record?