http://www.perlmonks.org?node_id=783450


in reply to Text Processing

Double quotes processes the string. "\" is generally used to escape characters, here perl interprets it as \c,
Now, depending on which machine you are on (here it's windows), so i'd suggest escaping the "\" with another one.
my $string = "C:\\cFiles"; print $string; my $string2 = "C:/cFiles"; print $string2;
Both of them should work, as internally windows processes the directory separation using "/" rather than "\".
Raghu