use / everywhere because Perl at Windows understand it very well unlike Windows itself
I've been told (on PerlMonks) that Windows system calls understand / just fine. It's the individual tools and shell commands that don't.
In fact, it seems the shell tools understand / just fine if it's in quotes:
G:\>md /test
The syntax of the command is incorrect.
G:\>md "/test"
G:\>copy nul /test/file
The syntax of the command is incorrect.
G:\>copy nul "/test/file"
1 file(s) copied.
G:\>dir /test
Invalid switch - "".
G:\>dir "/test"
Volume in drive G is CLFS01-USR-N
Volume Serial Number is 5C24-AC1F
Directory of G:\test
2007/06/08 09:21 AM <DIR> .
2007/06/08 09:21 AM <DIR> ..
2007/06/08 09:21 AM 0 file
1 File(s) 0 bytes
2 Dir(s) 81,590,624,256 bytes free