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: $!");
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (326 votes). Check out past polls.