http://qs1969.pair.com?node_id=127919


in reply to Re: Remove duplicate data from text file
in thread Remove duplicate data from text file

my $filename = ...; local $/; open IN, $filename; $text = <IN>; @words{split /\s+/, $text} = undef; @words = keys %words;