Hi , I have a question regarding matching strings that have embeded perl special characters.
$abc = 'MC10.G(12)3c';
$efg = 'MC10.G(12)3c';
Now I want to check whether they are same or not by doing
if ($abc =~ /$efg/) { do something;}
For this I need to insert a '\' before every special char.
Can some one tell me an easy way to do ?
Regards
Rajeev
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
