http://www.perlmonks.org?node_id=1047452


in reply to Re^2: cp Program Error
in thread cp Program Error

Try the suggestions in Basic Debugging Checklist and print out your filenames before trying the rename.