The stupid question is the question not asked | |
PerlMonks |
Re: Searching text filesby Tanktalus (Canon) |
on Sep 14, 2006 at 18:24 UTC ( [id://572969]=note: print w/replies, xml ) | Need Help?? |
Combining the above two great ideas, I would suggest not just a straight-forward database, but I would also split up the numbers into area code, exchange, extention. (And, if you want, country code - but sounds like you're just dealing with the US, so this would always be '1'.) This would allow the database to also set up indexes on area code and exchange for faster lookups. Ok, you have to tell the database to create indexes, but then you'll be able to do so.
In Section
Seekers of Perl Wisdom
|
|