Thank you all for your help!
I'll be trying each of these options independantly and running them with timex to see which gets the best results.
The both @list and the db logfile I will be running this script against are extremely large (hence my usage of perl vs. grep as one of you so astutely pointed out!). Again thank you for all the help!