Terrence Brannon > Spreadsheet-WriteExcel-Simple-Save-0.05 > Spreadsheet::WriteExcel::Simple::Save

Download:
Spreadsheet-WriteExcel-Simple-Save-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.05   Source  

NAME ^

Spreadsheet::WriteExcel::Simple::Save - convenience method for Spreadsheet::WriteExcel::Simple

SYNOPSIS ^

 #!/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');

1;

DESCRIPTION ^

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.

EXPORT

None by default.

AUTHOR ^

T. M. Brannon, <tbone@cpan.org>

SEE ALSO ^

Spreadsheet::WriteExcel::Simple, Spreadsheet::WriteExcel

syntax highlighting: