Hi,

I tried a lttle bit to get used to Win32::OLE 
And also searched tutorials on the Web. I found an interesting one, but
at this part in the code I get stuck...

------- CODE --------
//some sutff
$filename = 'd:\apache\apache\cgi-bin\perl2.xls';
unlink $filename if -f $filename;
$workbook->SaveAs($filename);
$workbook->Close(0); 
------- END CODE -----

How can Perl delete a file which is still open, and then only save it??
I always get an error on this, an the normal save function does not
exist (I think).
So what can I do ?? 

--
Christophe Tréfois

Reply via email to