in reply to splitting on new-line characters

Hi AM,

have you tried
open FILE, "filename"; my @array = <FILE>;

Hope this helps

thinker