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