go ahead... be a heretic | |
PerlMonks |
Re: data structure problemby jwest (Friar) |
on Jun 06, 2002 at 21:03 UTC ( [id://172365]=note: print w/replies, xml ) | Need Help?? |
Presupposing that 'country' and 'currency' will always be unique keys (and renaming your old %countryMap to %codeMap because the label made more sense to me in this case), this would work...
But, you probably want to use a database for this. Hope this helps! --jwest -><- -><- -><- -><- -><- All things are Perfect To every last Flaw And bound in accord With Eris's Law - HBT; The Book of Advice, 1:7
In Section
Seekers of Perl Wisdom
|
|