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: $!");
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (192 votes). Check out past polls.