in reply to ActiveState Perl: Forward or Backward Slash?
What is there to complain? The Win32 API understands both the forward and the backward slash as path separator (unlike the prevalent shell, cmd.exe). Of course, this makes writing scripts that check for file name equivalence harder, but if you're doing file name equivalence tests, you have the problem of a case insensitive (but case preserving) file system anyway.
So, depending on what your actual problem is (besides the aestethic), there is likely a solution in defining and then coding a normalization, but that normalization will likely depend on the OS and your requirements for equality.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ActiveState Perl: Forward or Backward Slash?
by puploki (Hermit) on Sep 20, 2005 at 09:12 UTC | |
by ww (Archbishop) on Sep 20, 2005 at 15:48 UTC | |
by monarch (Priest) on Sep 20, 2005 at 13:34 UTC | |
by Happy-the-monk (Canon) on Sep 20, 2005 at 14:05 UTC | |
|
Re^2: ActiveState Perl: Forward or Backward Slash?
by saintmike (Vicar) on Sep 20, 2005 at 14:25 UTC |