Support sanity-testing 'Geo::IP' existence.
authorshort <>
Sun, 18 Sep 2005 07:02:05 +0000 (07:02 +0000)
committershort <>
Sun, 18 Sep 2005 07:02:05 +0000 (07:02 +0000)
Web.pm

diff --git a/Web.pm b/Web.pm
index 386f769..f9d6d62 100644 (file)
--- a/Web.pm
+++ b/Web.pm
@@ -104,7 +104,7 @@ use Carp qw(cluck confess);
 use URI::Escape;
 require HTTP::BrowserDetect;
 require HTTP::Negotiate;
-my $have_Geo_IP; BEGIN { $have_Geo_IP=eval { require Geo::IP; 1; }; }
+our $have_Geo_IP; BEGIN { $have_Geo_IP=eval { require Geo::IP; 1; }; }
 # Do not: use ModPerl::Util qw(exit);
 # to prevent in mod_perl2: "exit" is not exported by the ModPerl::Util module
 # I do not know why.