summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
authorivan <ivan>2004-07-06 08:43:53 +0000
committerivan <ivan>2004-07-06 08:43:53 +0000
commit62b9467f16b67a95742a4ef060246e7e2fbf387c (patch)
treee4afa989402570b0baab02da0e3f09f20c50c537 /htetc
parentcac5bac7073a35e7d693fb55ce537994324b8e74 (diff)
0.32 (and then some) released
Diffstat (limited to 'htetc')
-rw-r--r--htetc/global.asa4
-rw-r--r--htetc/handler.pl4
2 files changed, 8 insertions, 0 deletions
diff --git a/htetc/global.asa b/htetc/global.asa
index 55cc8ed94..782e06223 100644
--- a/htetc/global.asa
+++ b/htetc/global.asa
@@ -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;
diff --git a/htetc/handler.pl b/htetc/handler.pl
index d425c2270..885c21641 100644
--- a/htetc/handler.pl
+++ b/htetc/handler.pl
@@ -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;