Think about Loose Coupling | |
PerlMonks |
Re^2: Array of Hashesby Angel (Friar) |
on Sep 20, 2005 at 19:42 UTC ( [id://493581]=note: print w/replies, xml ) | Need Help?? |
But though it is less efficient? Could you not keep a second index. Or multiple indicies? Or is there a better way. I am asking since I am holding data from a database in a loh for html::template's happiness and the second index prevents a linear scan each time. %primary_key{ $capture_id } = $array_index;
In Section
Seekers of Perl Wisdom
|
|