in reply to Platform Independent Directory Traversal

Answering the other half of your question, no, "." and ".." aren't cross platform.

For example, on vms, it's "[]" and "[-]".

See File::Spec::VMS for more examples, or File::Spec::Mac for "Classic" MacOS, where it was ":" and "::"...


Mike
  • Comment on Re: Platform Independent Directory Traversal