7

Finding unique values in a hash (Perl)

view full story
linux-howto

http://www.unix.com – Hi, I have a hash with unique keys associated with some data. Code: my %FINALcontigs = (         'mira_rep_c765:119reads**', 'ctctactggaagactgac',         'mira_rep_c7454:54reads**', 'atggatactgcgctgttgctaactactgga',         'mira_rep_c6803:12reads**', 'atcgactggatgcagggttgtggtttcta',         'mira_rep_c1661:6reads**', 'ctctactggaagactgac',     ); Notice that 'mira_rep_c765:119reads**' and 'mira_rep_c1661:6reads**' have the same value. I need to find which keys have matching values. What (HowTos)