Yes, I've just found this very useful as well! But apart from changing set_format to set_num_format. I was getting an error on close. I found that the workbook had to be explicitly closed. So in Excel.pm put:
sub close { my ($self) = @_; $self->{workbook}->close; }
And then your code should end:
$excel->close;
before exiting.
In reply to Re: Handy wrapper for Spreadsheet::WriteExcel
by Nomad
in thread Handy wrapper for Spreadsheet::WriteExcel
by nop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |