in reply to Re: How do you add .RTF to a filein thread How do you add .RTF to a file
my $file = 'file1'; $file =~ s/$/.rtf/; # $file will now contain the .rtf extension [download]