http://www.perlmonks.org?node_id=458481


in reply to Re: combining 2 files with a comon field
in thread combining 2 files with a comon field

Yea, I'm a big fan of this method. Memory-gentle, constant time, easy to understand. We use it a lot at work for files with tens of millions of lines. Note that it assumes sorted input files, but that's what sort(1) is for. :-)
  • Comment on Re^2: combining 2 files with a comon field