cat huge.file | perlscript