|The stupid question is the question not asked|
XLSX tmp file errorby vishi83 (Pilgrim)
|on Mar 02, 2012 at 11:00 UTC||Need Help??|
vishi83 has asked for the
wisdom of the Perl Monks concerning the following question:
I'm using Excel::Writer::XLSX (0.38 version) to write to xlsx files. But i seem to be getting the below error when i run my script as a CGI from the browser..
Couldn't open file /tmp/tdMZUai27q/xl/worksheets/sheet1.xml for writing.
However it is working fine if i run the script from command line. Internally the XLSX module uses File::Temp which i understand has issues with /tmp directories..
I'm using perl 5.8.7 on a HP-UX box.
I need some help to understand how to resolve this... Hope i dont to tweak the module itself to make it work..