maheshkumar has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, I am trying to locate the location of IP addresses through the usage of the module Geo::IPfree. Any idea on this following is my code which I have written for testing.
use Geo::IPfree $db = 'ipscountry.dat'; my $geo = Geo::IPfree->new([$db]); my ($code1, $name1) = $geo->LookUp('200.176.3.142');
And I am getting the following error
"ipscountry.dat" is not exported by the Geo::IPfree module Can't continue after import errors at Geo_IP_Free.pl line 2 BEGIN failed--compilation aborted at Geo_IP_Free.pl line 2, <DATA> lin +e 260.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Geo::IPfree module
by Ransom (Beadle) on Jul 03, 2012 at 14:58 UTC | |
|
Re: Geo::IPfree module
by Anonymous Monk on Jul 03, 2012 at 14:58 UTC |