in reply to
Re^2: Out of memory error!!!
in thread Out of memory error!!!
Where you have:
open(my $LOG,">>LOG_file") or die("Cannot open");
Change it to:
open(my $LOG,">>LOG_file") or die("Cannot open: $!");
This will display more information as to why you couldn't open the file. See open, perlvar and since you're new to perl:
Better change it to:
my $filename = 'LOG_file';
open(my $LOG, '>>', $filename) or die("ERROR: Cannot open file '$filen
+ame' for appending: $!");
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (150 votes),