Perl Monk, Perl Meditation | |
PerlMonks |
Re: best data structureby rob_au (Abbot) |
on Aug 28, 2002 at 13:27 UTC ( [id://193445]=note: print w/replies, xml ) | Need Help?? |
Why not combine the two approaches? The first solution which comes to my mind calls for a single iteration through the elements of @list with a lookup hash, %hash, that is used to avoid duplicate processing. For example ...
In Section
Seekers of Perl Wisdom
|
|