projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added who command
[spider.git]
/
perl
/
client.pl
diff --git
a/perl/client.pl
b/perl/client.pl
index c6f5bd2806c12d0ad0359af074fbf132cc7821ed..9e948a181a64bee603208586c1573d65ddccf327 100755
(executable)
--- 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 IO::Socket;
use IPC::Open2;
use Net::Telnet qw(TELOPT_ECHO);
-use Carp;
+use Carp
qw{cluck}
;
# cease communications
sub cease
# cease communications
sub cease
@@
-60,6
+60,7
@@
sub cease
kill(9, $pid);
}
dbgclose();
kill(9, $pid);
}
dbgclose();
+# $SIG{__WARN__} = sub {my $a = shift; cluck($a); };
sleep(1);
exit(0);
}
sleep(1);
exit(0);
}
@@
-473,7
+474,7
@@
if (! $conn) {
open IN, "$data/offline" or die;
while (<IN>) {
s/\n/\r/og if $mode == 1;
open IN, "$data/offline" or die;
while (<IN>) {
s/\n/\r/og if $mode == 1;
- print $stdout;
+ print $stdout
$_
;
}
close IN;
} else {
}
close IN;
} else {