Hello,
Does anyone guide me how to handle a huge file (>50GB) in perl?

I tried open method this way, but it's hanging the terminal. I think that
is out of memory error internally.

open my $FILE, "<", "Log_file.txt";

while (<$FILE>) {
 chomp;
 some task;
 ...
}

close $FILE;


Thanks,
Satya

Reply via email to