in reply to
Re: (another) HoH question
in thread (another) HoH question
Thanks for your answers!
I had a vague sense that something was blocking either the level-1 assignments or level-3 assignments. Data::Dumper certainly cleared that up (I had never used this before, and this will become a favorite.)
What I'm trying to do is use a hash to do a hash to merge two sets:
Set 1: I have a text file establishing the universe of accepted values:
Set 2: A set of values pointing to the hash. There may be multiple recs pointing to a hash rec (that's OK, as I just need to know of the existence of one). There maybe hash records that no one uses.
xxx ==> 456->abc
xxx ==> 789->abc
yyy ==> 456->abc
yyy ==> 456->abc (a dup)
zzz ==> 123->abc
I could just hash the second set, but I won't get the non-use ones like 456->xyz.
I've tried building the first hash and using arrays for the latter hash, but it runs rather slowly from all the repeated scans.