title: creating csv file with perl
body: <p>I created csv file with this perl module  Text::CSV_XS on windows:</p>
  
  <p>Below a snippet of my code :</p>
  
  <pre><code>use Text::CSV_XS;
  
  my @a =('ID','VALUE'); 
  
  
  open my $OUTPUT,'&gt;',"file.csv" or die "Can't able to open file.csv\n";
  
  my $csv = Text::CSV_XS-&gt;new ({ binary =&gt; 1, eol =&gt; $/ });
  
  
  
  $csv-&gt;print($OUTPUT,\@a);
  </code></pre>
  
  <p>this code generate a file.csv but when I try to open the file.csv with xls the xls write that this file is SYLK and can't know it could someone help why this csv can't open with xls?</p>