suppose this: ====================================== $string 'I saw Roger and I said :roger? what the @*$!';
$var1 = "roger? what the @*$!"; $var2 = "Hi roger...nice to meet you"; $string=~ s/$var1/$var2/; ======================================= I'm having problems....due (i suppose) to the special chars in the $var1 string the s/// don't match anything. What can I do to? thanx Francesco __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]