GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Phone::Info(3) User Contributed Perl Documentation Phone::Info(3)

Phone::Info - Fetches phone info.

Version 0.0.1

Quick summary of what the module does.

Perhaps a little code snippet.

    use Phone::Info;

    my $pi = Phone::Info->new();
    ...

args hash

token

This is the API key to use. Get one at "http://www.whitepages.com/".

If this is not defined $ENV{WHITEPAGESTOKEN} is used.

For a deeper understanding of values, check the URL below.

http://developer.whitepages.com/docs/Methods/find_person

args hash

firstname

The first name to search for.

lastname

The last name to search for.

name

The name to search for.

house

The house number.

street

The street name to search.

city

The city to search.

state

The 2 letter state to search.

zip

The 5 or 9 digit zip code.

areacode

The phone area code to search.

metro

A boolean value determining if the search should be expanded to the metro areas.

    my $res=$pi->find_person(\%args);
    if($pi->{error}){
        print "Error!\n";
    }

Create a string from the results.

args hash

res

This is the returned search data.

format

This is the format string for each item. See the format section for more information on this.

header

The header that will be attached at the top.

If this is not defined, it is created based on the format.

For no header, set this to ''.

This should also include a new line.

quote

If this is set to true, the fields will be quoted.

This defaults to true.

quotechar

This is the character that should be used for quoting.

The default is '"'.

    my $res=$pi->person(\%args);
    if($pi->{error}){
        print "Error!\n";
    }
    $pi->resFormat({
                    res=>$res,
                    format=>$format,
                    header=>$header,
                    seperator=>',',
                    quote=>1,
                    quotechar=>'"',
                    });
    if($pi->{error}){
        print "Error!\n";
    }

This finds related phone number based on their address.

See the link below for more information.

http://developer.whitepages.com/docs/Methods/reverse_address

args hash

apt

The apt to search for.

house

The house number searched to search for. This can be number take a range, "100-200".

city

The city to search.

state

The state to search.

zip

The sip code to search.

areacode

This is the area code to search.

    my $res=$pi->reverse_address(\%args);
    if($pi->{error}){
        print "Error!\n";
    }

This finds related addresses based on a phone number.

See the link below for more information.

http://developer.whitepages.com/docs/Methods/reverse_phone

args hash

phone

This is the phone number to look up.

    my $res=$pi->reverse_phone(\%args);
    if($pi->{error}){
        print "Error!\n";
    }

This blanks the error storage and is only meant for internal usage.

It does the following.

    $self->{error}=undef;
    $self->{errorString}="";

$args{token} is not defined and $ENV{WHITEPAGESTOKEN} is also not defined.

Failed to create the Net::WhitePages object.

find_person errored.

No search results passed.

No phone number specified.

This is a comma seperated string comprised of various items listed below.

This string sould not include any spaces or etc.

The first name of the first person found listed for the number.

The middle name for the first person found listed for the number.

The last name for the first person found listed for the number.

The phone number.

The house number for the address.

The street for the address.

The city the address is in.

The state the address is in.

The zip code for the address.

Zane C. Bowers, "<vvelox at vvelox.net>"

Please report any bugs or feature requests to "bug-phone-info at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Phone-Info>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

    perldoc Phone::Info

You can also look for information at:

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Phone-Info>

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/Phone-Info>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/Phone-Info>

  • Search CPAN

    <http://search.cpan.org/dist/Phone-Info/>

Copyright 2009 Zane C. Bowers, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2010-10-16 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.