Yet another linux nerd. Olivier Garcia's Blog

Archive for March, 2007

Alexandre Vassalotti made some handy emacs-snapshot package with XFT support included for nice anti-aliased fonts. It can’t be easier to install.
Instructions there : pretty-emacs @ peadrop


I just found Spreedsheet::WriteExcel on CPAN. I’ve created the following program to convert CSV files to xsl. Call it with CSV files as arguments and use this options :

–output filename.xsl
–sheet “Sheetname A for file A”
–separator ‘;’

#!/usr/bin/perl -w
use strict;
use Spreadsheet::WriteExcel;
use Getopt::Long;
my %options=(output=>’stats.xls’,sep=>’,');
GetOptions(\\%options,qw/output=s sheet=s@ sep=s/)
or die “$!”;
my $workbook =
Spreadsheet::WriteExcel->new($options{output});
my $n=0;
for my [...]