budda has asked for the wisdom of the Perl Monks concerning the following question:

I want to be able to do reverse phone number lookups against a list of phone numbers. After searching, I think my best avenue is to use WWW::Mechanize against a reverse lookup site (which would probably be slower that I would like). I'm curious if anyone has a better approach. Thanks

Replies are listed 'Best First'.
•Re: reverse phone number lookup
by merlyn (Sage) on Aug 12, 2004 at 16:38 UTC
Re: reverse phone number lookup
by dragonchild (Archbishop) on Aug 12, 2004 at 16:50 UTC
    You need to find your list of phone numbers from somewhere. Presumably, from this question, you want to do lookups against a third-party list. Your best bet would be to call that provider and ask them if they have an API you can use. It might cost you a little bit, but you will at least have legitimacy.

    This is especially important if you feel the need to do this fast. Presumably, because of the implied performance aspect, you plan on making money with this venture. If you are reselling this information, you need to make sure that you have cleared your commercial usage of a third-party's information with said third-party.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested

Re: reverse phone number lookup
by kvale (Monsignor) on Aug 12, 2004 at 16:52 UTC
    Just out of curiosity, what are reverse lookups good for? I can see where finding such information would be useful in a telemarketer war dialing scheme, or in spying on someone, or in perhaps stalking them. But all these are evil.

    -Mark

      Verifying that the number you got from the hot blonde at the bar is actually hers. :-)

      ------
      We are the carpenters and bricklayers of the Information Age.

      Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

      I shouldn't have to say this, but any code, unless otherwise stated, is untested

Re: reverse phone number lookup
by budda (Initiate) on Aug 12, 2004 at 18:03 UTC
    cool, thanks for the info on Google, I'll check it out. Its for a list of outbound phone numbers pulled from a phone server log. Basically I'm trying to match a phone number to a company name in order to see who we call the most and when. No telemarketing here.