Small remark.
foreach my $line ( <FILE> ) #### do NOT read entire files into memory if they are big.With foreach, you ARE reading the whole file into memory!
Use while:
while ( my $line = <FILE> )In reply to Re^2: Removing duplicates lines
by Not_a_Number
in thread Removing duplicates lines
by vihar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |