in reply to Re^8: print() on closed filehandle
in thread print() on closed filehandle
That's the error I get when I do:
perl -e "open(FILE, '>nonexistant/test') or die($!);"
Since you're creating the file, it means the path ("nonexistant/" in my case, "G:/Directory_path/" in yours) doesn't exist.
Check for typos. Copy and paste the path from somewhere (the address bar of Windows Explorer, for example) to make sure there are no typos.
Are you running your script as a service? G: is not likely to exist for a service.
See what happens if you use c:/out.txt instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: print() on closed filehandle
by Win (Novice) on Dec 14, 2004 at 17:52 UTC | |
by ysth (Canon) on Dec 14, 2004 at 18:26 UTC | |
by Win (Novice) on Dec 15, 2004 at 10:19 UTC | |
by ysth (Canon) on Dec 15, 2004 at 10:21 UTC | |
by Win (Novice) on Dec 15, 2004 at 10:28 UTC | |
|