Scrape::USPS::ZipLookup Perl Module 2.4
Sponsored Links
Scrape::USPS::ZipLookup Perl Module 2.4 Ranking & Summary
File size:
0.011 MB
Platform:
Any Platform
License:
Artistic License
Price:
Downloads:
1306
Date added:
2006-03-31
Publisher:
Gregor N. Purdy
Scrape::USPS::ZipLookup Perl Module 2.4 description
The United States Postal Service (USPS) has on its web site an HTML form at http://www.usps.com/zip4/ for standardizing an address. Given a firm, urbanization, street address, city, state, and zip, it will put the address into standard form (provided the address is in their database) and display a page with the resulting address.
Scrape::USPS::ZipLookup Perl Module provides a programmatic interface to this service, so you can write a program to process your entire personal address book without having to manually type them all in to the form.
Because the USPS could change or remove this functionality at any time, be prepared for the possibility that this code may fail to function. In fact, as of this version, there is no error checking in place, so if they do change things, this code will most likely fail in a noisy way. If you discover that the service has changed, please email the author your findings.
If an error occurs in trying to standardize the address, then no array will be returned. Otherwise, a four-element array will be returned.
To see debugging output, call $zlu->verbose(1).
SYNOPSIS
#!/usr/bin/perl
use Scrape::USPS::ZipLookup::Address;
use Scrape::USPS::ZipLookup;
my $addr = Scrape::USPS::ZipLookup::Address->new(
Focus Research, Inc., # Firm
, # Urbanization
8080 Beckett Center Drive Suite 203, # Delivery Address
West Chester, # City
OH, # State
45069-5001 # ZIP Code
);
my $zlu = Scrape::USPS::ZipLookup->new();
my @matches = $zlu->std_addr($addr);
if (@matches) {
printf "n%d matches:n", scalar(@matches);
foreach my $match (@matches) {
print "-" x 39, "n";
print $match->to_string;
print "n";
}
print "-" x 39, "n";
}
else {
print "No matches!n";
}
exit 0;
Enhancements:
- Adapt to yet another round of changes to the USPS Zip Lookup web site, courtesy of Eric Parker.
- Copyright date updates.
Scrape::USPS::ZipLookup Perl Module provides a programmatic interface to this service, so you can write a program to process your entire personal address book without having to manually type them all in to the form.
Because the USPS could change or remove this functionality at any time, be prepared for the possibility that this code may fail to function. In fact, as of this version, there is no error checking in place, so if they do change things, this code will most likely fail in a noisy way. If you discover that the service has changed, please email the author your findings.
If an error occurs in trying to standardize the address, then no array will be returned. Otherwise, a four-element array will be returned.
To see debugging output, call $zlu->verbose(1).
SYNOPSIS
#!/usr/bin/perl
use Scrape::USPS::ZipLookup::Address;
use Scrape::USPS::ZipLookup;
my $addr = Scrape::USPS::ZipLookup::Address->new(
Focus Research, Inc., # Firm
, # Urbanization
8080 Beckett Center Drive Suite 203, # Delivery Address
West Chester, # City
OH, # State
45069-5001 # ZIP Code
);
my $zlu = Scrape::USPS::ZipLookup->new();
my @matches = $zlu->std_addr($addr);
if (@matches) {
printf "n%d matches:n", scalar(@matches);
foreach my $match (@matches) {
print "-" x 39, "n";
print $match->to_string;
print "n";
}
print "-" x 39, "n";
}
else {
print "No matches!n";
}
exit 0;
Enhancements:
- Adapt to yet another round of changes to the USPS Zip Lookup web site, courtesy of Eric Parker.
- Copyright date updates.
Scrape::USPS::ZipLookup Perl Module 2.4 Screenshot
Advertisements
Scrape::USPS::ZipLookup Perl Module 2.4 Keywords
USPS
ZipLookup
ZipLookup Perl Module
ZipLookup Perl Module 2.4
Service
United States Postal Service
united states postal
states postal service
Perl module
United States
States Postal
postal service
interface to
programmatic interface
Perl
module
Bookmark Scrape::USPS::ZipLookup Perl Module 2.4
Scrape::USPS::ZipLookup Perl Module 2.4 Copyright
WareSeeker periodically updates pricing and software information of Scrape::USPS::ZipLookup Perl Module 2.4 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Scrape::USPS::ZipLookup Perl Module 2.4 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
united states postal services
united states postal service employment
united states postal service tracking
united states postal service website
united states postal service job listings
united states postal service usps
united states postal service jobs
united states postal service job announcements
who owns the united states postal service
united states postal service rates
united states postal service commercial
United States Postal Service creed
united states postal service change of address
united states postal service careers
united states postal service zip codes
United States Postal Service v. Hustler Magazine
Inc.
united states postal service locations
united states postal service motto
Related Software
App::Modular::Module::Events is a Perl module with event handling for App::Modular compatible applications. Free Download
shipping, tracking, rate calculation,address verification via Postal Service Free Download
Drupal::Module::Starter is a Perl module to create Drupal Module starter files. Free Download
App::Modular is a Perl module with modularization framework for perl programs. Free Download
ExtUtils::Embed is a Perl module with utilities for embedding Perl in C/C++ applications. Free Download
Scalar::Number is a Perl module with numeric aspects of scalars. Free Download
RenderMan is a RenderMan binding as a Perl 5.6 module. Free Download
Test::TestCoverage is Perl module to test if your test covers all public subroutines of the package. Free Download
Latest Software
Popular Software
Favourite Software