in reply to Global Variable for Worksheet?
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 Section
Seekers of Perl Wisdom