On Oct 4, 5:19 pm, [EMAIL PROTECTED] (Praveena Vittal) wrote: > Hi All, > > I need a way to replace a backslash(ie:\) with \\ in a string. > > Please help me... > > eg:ssh\[[\d]*\] from [\d\.]* consider the string > > Regards, > Praveena
$srt =~s/\\/\\\\/g; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/