I wasn't refering to $0, but to the path seperator. In unix, it's '/'. In Windows, it can be '\' and ':'. I don't know about other OSs. File::Spec contains functions to parse paths, but I was too lazy to lookup the syntax. | [reply] |
Windows generally accepts forward slashes in addition to the canonical back slashes; it does not use colons -- that's MacOS.
| [reply] |
Windows generally accepts forward slashes in addition to the canonical back slashes;
oops, right! See, I told you I should I have used File::Spec! (Actually, I did include '/' in the list of seperators.)
Windows does not use colons -- that's MacOS.
What about c:test.txt??? True, it can't be used to seperate directories, but I never said it could.
| [reply] [d/l] |