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)
project/captive/Thanks.pm

index f5d14bc..8999879 100755 (executable)
@@ -23,7 +23,9 @@ our $CVS_ID=q$Id$;
 use strict;
 use warnings;
 
+use Carp qw(cluck confess);
 use My::Web;
+cluck "No Geo::IP!" if !$My::Web::have_Geo_IP; # For: &a_href_cz
 Wrequire 'project::Lib';