hash of arrays question ... The perl book... says that hashes map keys to values. ... I have a hash of arrays and I want to map an array ... (comp.lang.perl)
Re: How to compare hashes to find matching keys with conflicting values. ... I did read the perldoc info on map but I am> still confused on how it is being used here. ... I would have now way to link them back to the keys> from register as now they would be numerically ordered in the array instead> of being linked to the hostname key. ... The keys of %keys are sorted with it before it goes through the "map pipe". ... (perl.beginners)
RE: How to compare hashes to find matching keys with conflicting values. ... How to compare hashes to find matching keys with conflicting ... I see that we are creating an array called res however I ... I did read the perldoc info on map but I ... from register as now they would be numerically ordered in the array ... (perl.beginners)
Re: Help with sorting values in a TreeMap ... > the map is an AccountView object whose 'getKey' method returns the ... > I use TreeMap so that they sort nicely by the account number. ... When you construct a TreeMap with a Comparator,... The objects that it would be comparing _are_ the keys that you described, ... (comp.lang.java.programmer)