in reply to function chdir in Module Cwd broken?

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.