in reply to Scanning Hashes for Repeated values

Please, include more information. Providing a Short, Self Contained, Correct Example would help us to help you the most.

For example, I don't understand how to proceed in some situations. Let's say A:B and B:C have been processed. Now A:B:C is read from the input - what should happen with it?

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]