Can't open foo.txt: Unknown error at test.pl line 2.