in reply to splitting on new-line characters

Are you sure it is a new line? Careful when parsing files on a different platform from the one that generated it (ie. Unix file on Windows).

Have you tried :-

my @array = split /[\n\r\l]*/, $array;
Hope it helps
UnderMine