hi,

i have string like this :
$a = '$(workspace)\convergence\trunk';

i need to replace $(workspace) with 'c:\p4\abc'
i wrote regex like this :

$a =~ s/$\(workspace)/c:\\p4\\abc/;
however, the string which i am getting is :

$(c:\p4\abc)\convergence\trunk

i need output like this : c:\p4\abc\convergence\trunk
somehow, i am not getting, how to escape, $ and braces

please suggest 


regards
irfan

Reply via email to