Welcome! Unrelated to the question that has been answered above, consider open, note the three argument form of open, and the use of $! to display why opening failed when calling die. See also Three-arg open().
In reply to Re: next unless not working
by marto
in thread next unless not working
by anitaord
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |