moritz is correct about the object scope and destruction. You can force a manual destruction by calling the undocumented Spreadsheet::Write::close() method at the end of your program:
... $h->close();
--
John.
In reply to Re: Global Variable for Worksheet?
by jmcnamara
in thread Global Variable for Worksheet?
by RookiePerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |