in reply to to avoid redundacy in a file
my %seen; while (<>) { next if $seen{$_}; print; $seen{$_}++; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: to avoid redundacy in a file
by tadman (Prior) on Jul 15, 2002 at 09:43 UTC | |
by Aristotle (Chancellor) on Jul 15, 2002 at 13:55 UTC | |
by tadman (Prior) on Jul 15, 2002 at 19:06 UTC | |
|
Re: Re: to avoid redundacy in a file
by Purdy (Hermit) on Jul 15, 2002 at 15:00 UTC |