add index on cust_main.refnum, speeds up advertising source list
[freeside.git] / htetc / global.asa
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;