in reply to Re^5: Rename problem
in thread Rename problem

Thanks for your help. The solution turned out to be: my $the_old_title = "$old_title"."\.shtml"; rename("archive.txt","$the_old_title");