in reply to Re: Best practices - absolute paths?
in thread Best practices - absolute paths?

What is wrong/dangerous about chdir'ing?

Replies are listed 'Best First'.
Re^3: Best practices - absolute paths?
by Joost (Canon) on Aug 13, 2005 at 11:38 UTC
      Isn't this the whole point of relative paths anyway?
      chdir("some.dir"); open(F,"file");

      All is well, unless of course something changes my CWD between chdir and open.

      If you want to walk different directories, well, you gotta put your seperate codepaths on seperate processess, not threads.