in reply to Re^2: Naked quotes work like m//?
in thread Naked quotes work like m//?

What you're missing is that the value of the string is interpreted as the regex, and not how you write the source code for the string. So a double backslash in the source code is actually just a single backslash in the string, and in the regex; and 4 backslashes in the source code is actually a double backslash in both string and regex.

Replies are listed 'Best First'.
Re^4: Naked quotes work like m//?
by Nkuvu (Priest) on Dec 05, 2004 at 20:36 UTC
    No, I understood that part. I just thought that you were saying that a string isn't applied like a regex at all -- so it seems that this is what I misinterpreted. Thanks for the explanation.