X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Fhandler.pl;h=885c21641392a82d28d29147e8685a71b9312eaf;hp=d425c2270f7b452baa3860639c74379b4fa19063;hb=e6b504f1d05efe176bb91c40cca089b41d2d2f49;hpb=ce41102169513f44c89a1e9bddfb250b29f239bb 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;