in reply to Loading a part of the file to array using Tie::File

Never tried to use Tie::File myself, but AFAIK it is just convenience.

On the other hand, there are plenty of solutions for reading large files. The most simply of it is to rely on open and a while, like:

my $large_file = '/tmp/some_large_file.txt'; open(my $in, '<', $large_file) or die "Cannot read $large_file: $!"; while (<$in>) { # do something with $_ } # close is optional once $in goes out of scope close($in)
Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill