#usr/bin/perl -w
use strict;
use Spreadsheet::WriteExcel;
my $workbook = Spreadsheet::WriteExcel -> new('perl.xls');
my $worksheet = $workbook -> add_worksheet('sheetname1');
$worksheet -> write("A1","Hello word!");
http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.37/lib/Spreadsheet/WriteExcel.pm