permissions is a good guess, but
rename($file, $newfile) || print "Rename $file to $newfile failed: + $!.\n";
will give you a lot more information including what the system thinks the problem is.
In reply to Re: rename doesn't work on OSX?
by GrandFather
in thread rename doesn't work on OSX?
by mmfuller
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |