in reply to Parsing multi-line records
This would put each "record" (set of lines) into individual elements of @data. It'd be up to you then to split on newlines or whatever, and to eliminate the trailing : on most records.my @data; { local $/ = ":"; # or "\n:\n" for : on an empty line @data = <DATA>; }
|
---|