Jul 19, 2007, 5:59 PM
Post #2 of 2
I don't know why chdir() would not work. Maybe you should post your code. It could be a different problem. Otherwise, you might want to give this a try:
Re: [YAYABRUCE] change directory
[In reply to]
File::chdir - a more sensible way to change directories
Perl's chdir() has the unfortunate problem of being very, very, very global. If any part of your program calls chdir() or if any library you use calls chdir(), it changes the current working directory for the whole program.The more you teach me, the more I learn. The more I learn, the more I teach.