use rename or use move from File::Copy;
In reply to Re: changing a file name, extension not showing up by Anonymous Monk in thread changing a file name, extension not showing up by mark4444az