http://qs321.pair.com?node_id=960803


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.