in reply to Spreadsheet::WriteExcel write failure


I never seen or had a report of that error.

It is may be caused by not having sufficient permissions to create a temp file on your system. Try the following to see where your temp dir is and see if you have write permissions:

perl -MFile::Spec -le "print File::Spec->tmpdir"
If that is the problem you can work around it using the set_tempdir() method. See the docs for more information.

If not let me know.

Update: I interpreted this to mean that the error message was also occuring with the first piece of code. rdfield++ for spotting the real problem.

--
John.