in reply to Re: Making File::Spec cross platform
in thread Making File::Spec cross platform

This needs to work on (at least) Win32 and *nix. When this path is fed to Cwd::abs_path() on a MSWindows system the dir separator will be '\'. I was under the impression that Cwd only dealt with '/' as a separator. Am I mistaken? What about the (hypothetical and increasingly unlikely) scenario where I want this to also work under a pre-OSX MacOS whose separator is ':'?

--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."