devbond has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use warnings; use Spreadsheet::WriteExcel; use Spreadsheet::ParseExcel; use Spreadsheet::ParseExcel::SaveParser; my $workbook; my @s; $Month=Sept; sub create_excel { $workbook = Spreadsheet::WriteExcel->new('FAISTATS_'."$Month".'.xls'); for ( $i=1;$i<=8;$i++) { $s[$i] = $workbook->add_worksheet( "cpzea0".$i."a0001" ) ; } $s[9] = $workbook->add_worksheet( "WEEKLY" ) ; $s[10] = $workbook->add_worksheet( "MONTHLY" ) ; } create_excel();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Scope of workbook in write excel
by ig (Vicar) on Sep 30, 2013 at 06:51 UTC | |
|
Re: Scope of workbook in write excel
by Anonymous Monk on Sep 29, 2013 at 17:34 UTC | |
|
Re: Scope of workbook in write excel
by MidLifeXis (Monsignor) on Sep 30, 2013 at 13:31 UTC |