XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Use a hash of hashes (aka, HoH). Yeah, you're treading close to OO, but I'd take the plunge when the plunge is warranted. You're building a 2-level lookup table. Nothing more, nothing less. OO is for when your things do stuff. These things don't do much, other than retain knowledge.
------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose I shouldn't have to say this, but any code, unless otherwise stated, is untested In reply to Re: When hashes aren't enough
by dragonchild
|
|