in reply to RE (tilly) 5: slash converter
in thread slash converter

Weird..
$ cat test $var = 'c:\test\file.txt'; print "$var\n"; $ perl test c:\test\file.txt
Update: My bad; I see what you're saying.. It needs to examine \ because you may need single-quotes in your single-quoted string.
print '\\'; # prints "\" not "\\"