in reply to BAsic File I/O
The $! will tell you what the OS thinks is the problem, and having the filename in the error message will help track down the problem as well.open(FILE,"test/$testfiles") or die "can't open file 'test/$testfiles' +: $!";
-Blake
|
|---|