in reply to problems with relative paths when using open and opendir functions

Who says anything about what the current directory is when your script is executing? Personally, I use FindBin;, and then use "full" pathnames based on $FindBin::Bin everywhere. Then current working directories never matter.

  • Comment on Re: problems with relative paths when using open and opendir functions
  • Download Code