in reply to hash with both values and keys unique to each other

Say I have a table which has values in two columns :- Column1 = $var1 and Column2 = $var2 (note they are both chromosome coordinates so they are bound to be repeated in different columns sometimes)

Are they also pumpkins?

How do I post a question effectively?

  • Comment on Re: hash with both values and keys unique to each other

Replies are listed 'Best First'.
Re^2: hash with both values and keys unique to each other
by cheekuperl (Monk) on Jul 12, 2012 at 17:16 UTC
    Are they also pumpkins? LoL
    Perhaps what he wants is:
    to have all keys unique(which will be an obvious with a hash
    and
    to have all values in that hash unique
    and intersection of keys and values is null set.