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.
In reply to Re: open file does not work for externally defined filename
by rafl
in thread open file does not work for externally defined filename
by cristianekw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |