Update: My bad; I see what you're saying.. It needs to examine \ because you may need single-quotes in your single-quoted string.$ cat test $var = 'c:\test\file.txt'; print "$var\n"; $ perl test c:\test\file.txt
print '\\'; # prints "\" not "\\"
In reply to RE: RE (tilly) 5: slash converter
by Fastolfe
in thread slash converter
by Simplicus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |