It is failing silently because you're not checking the return value from rename... so you're never seeing the failure reported.
Try this:
rename "$_[0]/$_", "$_[0]/\L$_" or die "Couldn't rename:\n$!\n";
The error message (stored in $!) will give you some insight into why it's failing. See also die.
Dave
In reply to Re: Renaming Not Working
by davido
in thread Renaming Not Working
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |