in reply to Renaming Not Working

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