-
-
23 May 2006 02:05:13 UTC
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (347 / 149 / 0)
- Kwalitee
Bus factor: 0- 83.33% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (48.83KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- File::Spec
- FileHandle
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.07
- Added support for building the DB files from the more recent zip-code data here:
- http://civicspacelabs.org/releases/zipcodes/zipcodes-csv-10-Aug-2004.tgz
- The old data will continue to work. (Sam Tregar)
- The following changes contributed by Scott Gifford of HomeSurfUSA.com
- Subclassing
- Move database installation code from load.pl into a module, to make subclassing easier.
- Modify instructions to discuss proposed "Geo::PostalCode::US" to get US postal codes.
- New Functionality
- You can specify constructor arguments "units" or "earth_radius" to change the units that Geo::PostalCode operates in. By default it supports miles and kilometers, but it can support any unit if you provide the earth's radius in that unit.
- Speed Improvements for Very Large Searches
- Allow overriding B-Tree cache size with "cachesize" constructor argument.
- Very small speedups in query_postal_codes.
- Major Cleanup
- All required files for testing included in package, so that a "make test" from CPAN will succeed.
- Minor Cleanup
- Better error checking of database tie commands.
- Minor syntax fixes to split.
- Use name "geo_postalcode_makedb" instead of "load.pl", so it can be installed in a bin directory.
Modules
Find closest zipcodes, distance, latitude, and longitude.Create and install a new location database for Geo::PostalCode.Module Install Instructions
To install Geo::PostalCode, copy and paste the appropriate command in to your terminal.
cpanm Geo::PostalCode
perl -MCPAN -e shell install Geo::PostalCode
For more information on module installation, please visit the detailed CPAN module installation guide.