Hi BrowserUK,
Thank you for your suggestions. It appears that it is only the first file that is getting appended to the text-file. This is true if the file exists before the program executes or not.
I also added return code checking like so:
if (!open(OUT, '>>', 'Results.txt')) { print "Open file failed!\n"; exit(); }
Unfortunately this did not change the program output. I also have very large diskspace free (many GB). Strange too that the data gets populated into the hash, but doesn't want to write to disk. I will try incrementing filenames (e.g. open new file for each loop iteration). If that can work then the problem must be with the '>>' mode of the file-handle somehow.
In reply to Re: Re: Sanity Check: Debugging Help Needed!
by Anonymous Monk
in thread Sanity Check: Debugging Help Needed!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |