in reply to What is wrong with my File open?
Except the file name itself (K9-RW), all directories exist.I would strongly suspect this is not in fact the case - possibly due to subtle typos, or differences in case, or control characters or spaces. Try adding the following check on the line before the sysopen:
while ($outputFileName =~ /.*?\//g) { die "no dir: $`$&\n" unless -d "$`$&"; }
Dave.
|
|---|