Hi, Still very noob when it comes to perl. Just have a quick question. I am trying to match a string that is window's path
Sample, $s1 = "c:\\log\s1.log"; $s2 = $s1; If ($s1 =~ m/$s2/i) { print "matched\n"; } It just wouldn't match. I can put the actual string into m//i, which would work, but I have to make it work with variable, since I'll be reading in the actual string from a file. Greatly appreciate any answer I get. Thx Han