[Rt-commit] r9397 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/Elements

ruz at bestpractical.com ruz at bestpractical.com
Mon Oct 22 15:13:19 EDT 2007


Author: ruz
Date: Mon Oct 22 15:12:58 2007
New Revision: 9397

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/Elements/GetEmailFromIP

Log:
* turn on debug mode in Net::Whois::RIPE so we'll get errors as warnings in the log

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/Elements/GetEmailFromIP
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/Elements/GetEmailFromIP	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/Elements/GetEmailFromIP	Mon Oct 22 15:12:58 2007
@@ -26,7 +26,7 @@
 # $address is passed by reference
 
 use Net::Whois::RIPE;
-my $whois = Net::Whois::RIPE->new($server);
+my $whois = Net::Whois::RIPE->new( $server, Debug => 1 );
 if ($whois) {
   my $query = $whois->query($q);
   $$address = "";


More information about the Rt-commit mailing list