Just another Perl shrine | |
PerlMonks |
Re: Creating SELECT-like look-up tables as hashesby bigdogs (Acolyte) |
on Dec 01, 2013 at 16:53 UTC ( [id://1065157]=note: print w/replies, xml ) | Need Help?? |
In this case, the %lookup_id hash is unnecessary: you never have to find a row by id, but just to scan them all. A simple foreach is enough:
In Section
Seekers of Perl Wisdom
|
|