If you don't need to know exactly why your program failed, try this
open(INFILE, "infile") && !(-e "outfile") && open (OUTFILE, ">outfile") || die ("Cannot open files\n");
In reply to Re: is there a file/directory?
by Sexy Nun
in thread is there a file/directory?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |