|
|
| Think about Loose Coupling | |
| PerlMonks |
Creating SELECT-like look-up tables as hashesby loris (Hermit) |
| on Nov 29, 2013 at 14:14 UTC ( [id://1064955]=perlquestion: print w/replies, xml ) | Need Help?? |
|
loris has asked for the wisdom of the Perl Monks concerning the following question: Hi Monasterians, I have data from a database which I have read into an array of hashrefs. I want to perform SELECT-like operations on the data. For this I am creating hash-based look-up tables with combinations of columns in the following manner:
Is there a better way of creating such pseudo-SELECT look-up hashes? Cheers, Loris
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||