in reply to Re^2: Win32 OLE error 1403
in thread Win32 OLE error 1403
If you've run this and the print statement ran then you could have a problem with file permissions, or just have a bad path. Although thinking about it, -w can only return true if your file already exists, so may not be useful to you.
try temporarily adding
That's a better test to see if you've got permission problems, and any error will be logged.open TEST, ">>$savename" or print LOG "Couldn't open file for appending: $!\n"; close TEST;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Win32 OLE error 1403
by Nalina (Monk) on Aug 24, 2005 at 06:36 UTC |