eep! You most certainly do need to escape backslashes, whether in single quotes or not. This is because the backslash is the escape character. If you didn't have to escape backslashes, how would you represent a newline from within a single-quoted string? perl is smart, but not that smart.
String literals are usually delimited by either single or double
quotes. They work much like quotes in the standard Unix shells: double-quoted string literals are subject to backslash and variable substitution; single-quoted strings are not (except for "\'" and "\\").
...because it thinks I'm trying to escape a single quote. So, single quotes obviously do some sort of backslash interpolation. Your original point was that he didn't have to escape the \ in "c:\path\to\something". I think of it this way: nothing interpolates within single quotes, including escape sequences. If you do something like $string = 'some string\t\n', the result will interpolate to the right thing in double quotes. Now, that having been said, one can embolden perldata another way:
String literals are usually delimited by either single or double quotes. They work much like quotes in the standard Unix shells: double-quoted string literals are subject to backslash and variable substitution; single-quoted strings are not (except for "\'" and "\\")