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
In reply to Re: BAsic File I/O
by blakem
in thread BAsic File I/O
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |