in reply to using regex with records

The __DATA__ you posted does not have \n\n. It looks like you have a single backslash on a couple of lines.

Replies are listed 'Best First'.
Re^2: using regex with records
by Anonymous Monk on Jan 02, 2012 at 01:24 UTC
    Sorry -- the \n\n isn't posted in the _DATA_ -- I'm just including one record for an example.
      .* does not match \n by default. You need to use //s. Read perlre.