more useful options | |
PerlMonks |
Re: When hashes aren't enoughby jaa (Friar) |
on May 25, 2004 at 17:28 UTC ( [id://356303]=note: print w/replies, xml ) | Need Help?? |
OO - as other have said... 'it depends'. I find the question a little unclear, you have items with attributes... Which are easily encoded as hashes... but then you look for $Color{"Car"}... rather than $Item{Car}{Color} so how exactly do you want to use $Item? Do you just want to store the details somewhere? or do you want attribute indexes... Which is available on CPAN Tie-Hash-TwoWay Regards, Jeff
In Section
Seekers of Perl Wisdom
|
|