in reply to Re^2: Update: problem with scalar
in thread Update: problem with scalar
Perhaps you could change the file opening line as follows:
This will not solve the problem but at least it would tell you if the program failed to open the file.open FILE, "<", 'testFile.txt' or die "Cannot open testFile.txt $!";
BTW, you should always check whether such OS related statements succeed.
|
|---|