Re: Process large file with hash

2006-02-18 Thread Hans Meier (John Doe)
Andrej Kastrin am Samstag, 18. Februar 2006 14.08: > Dear Perl users, > > I try to parse 20.000.000 records file but... To solve my recent Perl > problem I collect my previous posts on this list. > > I have bar separated file (FILE_A): > name1|10 > name2|20 > name3|5 > name4|30 > etc. > > I process

Process large file with hash

2006-02-18 Thread Andrej Kastrin
Dear Perl users, I try to parse 20.000.000 records file but... To solve my recent Perl problem I collect my previous posts on this list. I have bar separated file (FILE_A): name1|10 name2|20 name3|5 name4|30 etc. I processed it with the following code: my %scores; while ( ) { chomp; m