if (!open(F, ">foo.txt")) { die "hey, couldn't open foo.txt"; }