in reply to Re^2: Usig file name without backslash escape
in thread Usig file name without backslash escape

Have you tried asking Perl what the problem is?

rename $newFile, $curFile or die $!;

Aaron B.
Available for small or large Perl jobs; see my home node.