reaper9187 has asked for the wisdom of the Perl Monks concerning the following question:
As you can see, I have two entries with same key-value pairs. Is it possible to remove all such possible combinations ??my %hash = ('one' => '1', 'two' => '2','1'=>'one');
Update
Hello monks, I need some help eliminating duplicate key value pairs in a hash. The most simple reproducible example is as follows:As you can see, I have two entries with same key-value pairs. Is it possible to remove all such possible combinations ??my %hash = ('aaa' => 'bbb', 'bbb' => 'aaa','ccc'=>'bbb','bbc'=>'ccc',' +abc'=>'123');
|
|---|