a b c d e f #### open(FILE,"; @array = split(/^\n/,$string); # split where the \n is the first thing on that line. # then do stuff with each element in @array.