No such thing as a small change | |
PerlMonks |
Re: opening new file in different directoryby buckaduck (Chaplain) |
on Oct 24, 2001 at 00:55 UTC ( [id://120908]=note: print w/replies, xml ) | Need Help?? |
How about one more layer of error checking, on the chdir command:
That is, just because the program runs, doesn't mean it's working correctly. It's possible that the chdir fails and the open is creating a file in the current directory. It's worth checking, anyway... buckaduck
In Section
Seekers of Perl Wisdom
|
|