laziness, impatience, and hubris | |
PerlMonks |
Re^2: Bi-Directional Hash Lookupby PerlingTheUK (Hermit) |
on Oct 11, 2005 at 12:06 UTC ( [id://499129]=note: print w/replies, xml ) | Need Help?? |
The problem about HoH is that I regularly update the content. In which case both hashes need updating. I do not like the idea of doing that for both especially as I access and manipulate the data at several locations. I think I will pick a Class structure giving me a getA and a getB method. This will at least make sure that data of a HoH is consistent as long as my setColumn method is fine.
Cheers, PerlingTheUK
In Section
Seekers of Perl Wisdom
|
|