X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=36b221561c19775a570a7ca819c2dbd3f173be3b;hb=07c6450a5ff148981299de70b43677f5a35d5acf;hp=b8824cf4d43923290e35ac16f1e58c189bae5790;hpb=57a2e501a50d48dcb8915a05b90d0e8e948c999d;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index b8824cf4..36b22156 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -119,14 +119,14 @@ $count = 0; lastmsgpoll => '0,Last Msg Poll,atime', inscript => '9,In a script,yesno', handle_xml => '9,Handles XML,yesno', + do_pc92 => '9,Handles PC92,yesno', + send_pc92 => '9,Send PC92,atime', inqueue => '9,Input Queue,parray', ); + use vars qw($VERSION $BRANCH); -$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); -$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)); -$main::build += $VERSION; -$main::branch += $BRANCH; +($VERSION, $BRANCH) = dxver(q$Revision$); # object destruction sub DESTROY @@ -472,7 +472,7 @@ sub disconnect my $user = $self->{user}; $user->close() if defined $user; - $self->{conn}->disconnect; + $self->{conn}->disconnect if $self->{conn}; $self->del(); }