>perl tst.pl A file descriptor does not refer to an open file. at tst.pl line 7.