[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

excuse.pl patch



excuse.pl causes the infobot to fail when when Net::Telnet (a non-essential
module) isn't on the system. This patch will fix excuse.pl so infobot will
still start.

Cheers,
Kevin

--- excuse.pl.orig      Wed Nov 17 17:00:05 1999
+++ excuse.pl   Wed Nov 17 17:00:16 1999
@@ -6,9 +6,7 @@
 #
 
 BEGIN {
-    eval {
-       use Net::Telnet;
-    };
+    eval "use Net::Telnet ()";
 
     $no_excuse++ if ($@) ;