title: How to create an excel file with perl?
body: <p>I need to create an excel file with perl script...i tryed to search on internet...but anyone "answer" my question!
  In particular i need to write the records on excel sheet...pls help :D</p>
  
  <p>i receive this error:</p>
  
  <blockquote>
    <p>Can't locate Spreadsheet/WriteExcel.pm in @INC (@INC contains:
    /opt/oracle/product/10.2.0/db_1/perl/lib/site_perl/5.8.3/Apache/DBI.pm
    /servizio/arbor/FXGA/ARBOR3P/perl/lib/5.8.7/IA64.ARCHREV_0-LP64
    /servizio/arbor/FXGA/ARBOR3P/perl/lib/5.8.7
    /servizio/arbor/FXGA/ARBOR3P/perl/lib/site_perl/5.8.7/IA64.ARCHREV_0-LP64
    /servizio/arbor/FXGA/ARBOR3P/perl/lib/site_perl/5.8.7
    /servizio/arbor/FXGA/ARBOR3P/perl/lib/site_perl .) at script.pl line
    8.</p>
  </blockquote>
  
  <p>this is my code:</p>
  
  <pre><code>use strict;
  use warnings;
  use DBI;
  use Spreadsheet::WriteExcel;
  .
  .
  .
  my $workbook = Spreadsheet::WriteExcel-&gt;new('perl.xls') or die "Errore nella creazione del file .xls";
  .
  .
  .
  </code></pre>
  
  <p>This line generate the error...in particular i don t understand what means "@INC contains...", how can i clear this array?? thanks</p>