in reply to How do you add .RTF to a file
You simply need concatination, not pattern matching. To concat two strings, you can use the "." operator as follows:
$file = "File1"; $file .= ".rtf"; or something more like $basename = "File1"; $file = $basename . ".rtf";
In Section
Seekers of Perl Wisdom