in reply to function chdir in Module Cwd broken?
Are your permissions correct for the dir? Specifically, are /x, /x/y and /x/y/z all executable by your user? There are the test results I got:
$ perl -v This is perl, v5.8.0 built for i586-linux-thread-multi $ perl -MCwd -le 'chdir "/tmp"; print getcwd();' /tmp $ perl -MCwd -le 'chdir "/root"; print getcwd();'
|
---|
Replies are listed 'Best First'. | |
---|---|
Using the same module twice
by ikegami (Patriarch) on Nov 08, 2004 at 20:50 UTC | |
by Aighearach (Initiate) on Nov 08, 2004 at 21:04 UTC | |
Re^2: function chdir in Module Cwd broken?
by Fletch (Bishop) on Nov 08, 2004 at 21:52 UTC | |
by Aighearach (Initiate) on Nov 08, 2004 at 22:00 UTC | |
Re^2: function chdir in Module Cwd broken?
by jethro (Monsignor) on Nov 09, 2004 at 01:56 UTC |