in reply to Re: Re: reading file into an array
in thread reading file into an array

The lines in @lines still have their line endings attached, so when you print them with a newline you get doublespacing. Make that,

for (@lines) { print FILE $_; }
or just, print FILE @lines; You also could chomp @lines to remove the previous line ends - useful if you need to translate them.

After Compline,
Zaxo