Q:

Putting NewLine in writing CSV documents Perl

I am trying to write data calculated by my perl script into a csv file which will be repeatedly opened and input to. I have encountered two issues. One, the CSV created ocupies a single row, adding each new field to a new column. The seccond is that the CSV file once created does not succesfully close so I am unable to reopen and edit it by running the script again. 
the code that I am using is this: 
push my @rows, ["Entries Missing from English doc:"," " , "Entries Missing  from French doc:"];
push @rows, ["$englishUnincluded[0]", " ", "$frenchUnincluded[0]"];
my $csv = Text::CSV->new ({binary=>1}) or die "cannot use CSV: ".Text::CSV->error_diag ();
open my $csvFile, ">:encoding(utf8)", "telt.csv" or die "telt.csv: $!";
$csv->column_names(@{$rows[0]});
$csv->print($csvFile, $_) for @rows;
close $csvFile or die "teet.csv: didnt close at all";

I have also tried using consecutive print statements rather than the $csv->print(..) for @rows; I previously had statments looking like 
$field_vals = ["$val", "something", " "];
$csv->print($csvFile, $field_vals); and reloaded all the values into field vals and printed them as lines to the CSV but had the same two issues continuously. 
** note that CSV not closing issue goes away if only one line is printed. 
Also, script does not print the "or die" message on not closing the file properly.
thank you in advance for any help you provide!

A:

You've forgotten to declared end of line:
my $csv = Text::CSV->new ({binary=>1, eol => $/}) or die "cannot use CSV: ".Text::CSV->error_diag ();
#                           here __^^^^^^^^^^^^

