0.32 (and then some) released
authorivan <ivan>
Tue, 6 Jul 2004 08:43:53 +0000 (08:43 +0000)
committerivan <ivan>
Tue, 6 Jul 2004 08:43:53 +0000 (08:43 +0000)
htetc/global.asa
htetc/handler.pl

index 55cc8ed..782e062 100644 (file)
@@ -15,6 +15,10 @@ use HTML::Entities;
 use IO::Handle;
 use IO::File;
 use Net::Whois::Raw qw(whois);
+if ( $] < 5.006 ) {
+  eval "use Net::Whois::Raw 0.32 qw(whois)";
+  die $@ if $@;
+}
 use Business::CreditCard;
 use String::Approx qw(amatch);
 use Chart::LinesPoints;
index d425c22..885c216 100644 (file)
@@ -98,6 +98,10 @@ sub handler
       use IO::Handle;
       use IO::File;
       use Net::Whois::Raw qw(whois);
+      if ( $] < 5.006 ) {
+        eval "use Net::Whois::Raw 0.32 qw(whois)";
+        die $@ if $@;
+      }
       use Business::CreditCard;
       use String::Approx qw(amatch);
       use Chart::LinesPoints;