in reply to Re: Parsing Quark file with RegEx
in thread Parsing Quark file with RegEx

The easier way to do it, if I'm reading what you want correctly, would be
@FILE = split(/\n/, join('', @FILE));
which concatentates all the items into one big string, then splits it on newlines.