in reply to Spreadsheet::WriteExcel write failure
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:
If that is the problem you can work around it using the set_tempdir() method. See the docs for more information.perl -MFile::Spec -le "print File::Spec->tmpdir"
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.
|
|---|