Put "__END__" on a line just before your first foreach statement. Does it then create the file with a single line in it? If not, you need to look at permissions, quota (does Windows support quotas?), ACL, etc. I don't see anything (in a very cursory scan) in your program that might cause this behavior, which is why I suspect environmental--rather than code--issues.
roboticusIn reply to Re: Can't write to open writeable Filehandle
by roboticus
in thread Can't write to open writeable Filehandle
by Ellhar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |