Comment: Re:Yes (Score 0) on 2010.06.21 1:27
I only found a reference to it in perlfaq5. It points out there that DOS does handle forward slashes in place of backslashes (though you have to put quotes around the file name, or it thinks the slash is an option).
C:\Users\slanning>more > foo.txt
hi there
^C
C:\Users\slanning>perl -e "open(F, 'c:/Users/slanning/foo.txt') || die$!; while(<F>){print}"
hi there
C:\Users\slanning>perl -e "open(F, 'c:\Users\slanning\foo.txt') || die $!; while(<F>){print}"
hi there
