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.
In reply to Re: What is wrong with my File open?
by dave_the_m
in thread What is wrong with my File open?
by inhistime
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |