open (FH, ">+path"); my @lineArray = ; print join("
", @lineArray); # nothing prints although the file does have content