To opendir on your current working directory, you either have to opendir(DIR, '.') or provide the full path.Quoting the OP:
which he does right after a successful chdir. Which point are you trying to make here?opendir DIR, '.' or die $!
In reply to Re^2: win32/winxp, -r and chdir succeed but opendir fails, permission denied
by JavaFan
in thread win32/winxp, -r and chdir succeed but opendir fails, permission denied
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |