What happens when you check the return value of open by adding the following to line 10?
or die $!;
Dave
In reply to Re: stderr, local block and redirection
by davido
in thread stderr, local block and redirection
by jfroebe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |