Spreadsheet::WriteExcel::Simple::Save - convenience method for Spreadsheet::WriteExcel::Simple
#!/usr/bin/perl #===================================================================== # DECLARATIONS #===================================================================== use strict; use Spreadsheet::WriteExcel::Simple::Save; #===================================================================== # PROGRAM PROPER #===================================================================== my $ss = Spreadsheet::WriteExcel::Simple->new; my @row = qw(000234 234234); warn "@row"; $ss->sheet->keep_leading_zeros; # A Spreadsheet::WriteExcel method # irrelevant to the SYNOPSIS $ss->write_row(\@row); $ss->save('test.xls');
Spreadsheet::WriteExcel::Simple::Save adds a save() method to Spreadsheet::WriteExcel::Simple objects. Tony Bowden liked my patch and made some suggestions, but clearly is overloaded with his obligations as maintainer of Class::DBI, so he never integrated my patch.
I have taken his suggestions and written the method as he suggested.
None by default.
T. M. Brannon, <email@example.com>