in reply to Work Sheets in excel in Perl
The solution is to place the worksheet reference in the same scope as the workbook or else to call the the workbook close() method to ensure that the destructors are called in the right order:
See the close() section of the Spreadsheet::WriteExcel docs for more information.foreach my $file (@files) { if ( !( ( $file eq "." ) || ( $file eq ".." ) ) ) { ... } } $workBook->close();
--
John.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Work Sheets in excel in Perl
by anand_perl (Novice) on Sep 29, 2008 at 09:45 UTC |