
PGScooter
stranger
Jul 19, 2007, 5:59 PM
Post #2 of 2
(1686 views)
|
Re: [YAYABRUCE] change directory
[In reply to]
|
Can't Post
|
|
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:
File::chdir - a more sensible way to change directories http://cpan.uwinnipeg.ca/htdocs/File-chdir/File/chdir.html
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.
|