in reply to open file does not work for externally defined filename

When a call to open() fails it returns undef and sets the special variable $!, which will allow you to find out what exactly is going wrong.

  • Comment on Re: open file does not work for externally defined filename