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 eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (398 votes). Check out past polls.