Your snippet works for me in WinXP and FreeBSD. Try printing the error message:
chdir '/x/y/z' or die("$!$/");Not only must the directory exist, but the user must have eXecute permissions to /x, /x/y and /x/y/z.
In reply to Re: function chdir in Module Cwd broken?
by ikegami
in thread function chdir in Module Cwd broken?
by jethro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |