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


in reply to Need Help in splitting the files

Have you looked at perlfaq4 and what it has to say about finding duplicates?