add whois functionality internally instead of linking to geektools
[freeside.git] / htetc / handler.pl
index 8d4f1e7..b81606a 100644 (file)
@@ -71,6 +71,7 @@ sub handler
       use HTML::Entities;
       use IO::Handle;
       use IO::File;
+      use Net::Whois::Raw qw(whois);
       use Business::CreditCard;
       use String::Approx qw(amatch);
       use Chart::LinesPoints;
@@ -198,7 +199,7 @@ sub handler
     #eorar
 
     my $headers = $r->headers_out;
-    $headers->{'Pragma'} = $headers->{'Cache-control'} = 'no-cache';
+    $headers->{'Cache-control'} = 'no-cache';
     #$r->no_cache(1);
     $headers->{'Expires'} = '0';