RE: Win32::OLE SaveAs functions problem

2001-05-17 Thread Peter Cornelius
I haven't worked with the OLE modules at all but I'll put in my 2 cents. It's not clear to me that $filename is open from this snippet. It looks like $filename gets defined and then you delete it if it's there and is a regular file. I don't know what the SaveAs method does but I'm guessing it sa

Win32::OLE SaveAs functions problem

2001-05-17 Thread Chris Tréfois
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->Sav