The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::MelissaData::PhoneLocation - Provides an interface to MelissaData's free phone location lookup service

SYNOPSIS

  use WWW::MelissaData::PhoneLocation;
  my $loc = WWW::MelissaData::PhoneLocation->new;
  my $phone = $loc->query('4079347639'); # 407-W-DISNEY (Disney Reservations)
  use Data::Dumper;
  print Dumper($phone);

DESCRIPTION

Put in a phone number and it will give you the city, state, telco, and other assorted data for that number. The data comes from MelissaData.com. This only provides data for NANPA phone numbers (US/Canada).

new

Creates WWW::MelissaData::PhoneLocation object.

query

Queries the site. Provide a phone number as the only argument.

Do not include a country code. Do not provide a "1" prefix. Use only the ten-digit phone number. It is okay to include hyphens/dashes/etc; non-digit characters will be removed automatically.

COPYRIGHT AND LICENSE

Copyright (C) 2009 Dusty Wilson, <dusty@megagram.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.0 or, at your option, any later version of Perl 5 you may have available.