Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Welcome to the Monastery
 
PerlMonks  

Re: Geo::Coder reference

by Khen1950fx (Canon)
on Apr 16, 2012 at 06:48 UTC ( #965244=note: print w/ replies, xml ) Need Help??


in reply to Geo::Coder reference

Run this:

#!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->install(qw( Test::More Pod::Man File::Spec Data::Dumper ExtUtils::MakeMaker DB_File Class::Data::Inheritable Class::Accessor Carp Carp::Assert base SDERLE/Geo-TigerLine-0.02.tar.gz Geo::Fips55 Geo::StreetAddress::US Geo::Coder::US));
Then run this:
#!/usr/bin/perl -l use strict; use warnings; use Geo::Coder::US; print $Geo::Coder::US::VERSION;


Comment on Re: Geo::Coder reference
Select or Download Code
Re^2: Geo::Coder reference
by Anonymous Monk on Apr 16, 2012 at 08:53 UTC

    Why assume root, or a configured CPAN?

Re^2: Geo::Coder reference
by Da_Skipper (Initiate) on Apr 22, 2012 at 21:46 UTC
    Thanks, that worked, mostly.

    I had to add one more line as a pointer to the local database after it was installed on the server, then it worked fine.

    Geo::Coder::US->set_db( "/path_to_database_on_my_server" );

    Thanks to all who replied!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://965244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2013-05-24 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (495 votes), past polls