X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fclient.pl;h=850b81d6f108da40bf7194e937438aa03e7cf402;hb=3ba4a53a0fae7b6135ee9b8cd0ab4bbe352b4bdc;hp=c6f5bd2806c12d0ad0359af074fbf132cc7821ed;hpb=d90daad96631dd62cd431931b5b78a0f1cf735d3;p=spider.git diff --git a/perl/client.pl b/perl/client.pl index c6f5bd28..850b81d6 100755 --- a/perl/client.pl +++ b/perl/client.pl @@ -45,7 +45,7 @@ use IO::File; use IO::Socket; use IPC::Open2; use Net::Telnet qw(TELOPT_ECHO); -use Carp; +use Carp qw{cluck}; # cease communications sub cease @@ -60,6 +60,7 @@ sub cease kill(9, $pid); } dbgclose(); +# $SIG{__WARN__} = sub {my $a = shift; cluck($a); }; sleep(1); exit(0); }