$File::Find::name would only work if you gave an absolute path to find() (and then would still be slower). Use $_ instead. If you did what you should always do when calling such system functions, you would have probably already figured this out:
chmod 0777, $File::Find::name or warn "Can't chmod 077, $File::Find::name: $!\n";
- tye
In reply to Re: File::Find and recursive chmod on Win32? ($_,$!)
by tye
in thread File::Find and recursive chmod on Win32?
by jmmistrot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |