in reply to Loading Large files eats away Memory

If you are handling big files perline basis then use while loop instead of slurping.
while (<INPUT>) { # handle file my $line = $_; }
Ofcourse by setting '$/' you can get different chuncks than lines.