Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by Anonymous Monk
on Jul 12, 2012 at 17:03 UTC ( #981445=note: print w/ replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://981445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-08 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls