X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy.pm;h=86bb5f1d0aa2c66cb3e45293bd99920eeff45623;hb=10bcae7d964cf5a4b9f7a439c29afff218a35903;hp=2483d2732705a8f566ae359ca86fd8a194d98167;hpb=6f20114b034d329c1e2a4f91f0aba2f6ec4002d4;p=spider.git diff --git a/perl/Thingy.pm b/perl/Thingy.pm index 2483d273..86bb5f1d 100644 --- a/perl/Thingy.pm +++ b/perl/Thingy.pm @@ -3,7 +3,7 @@ # # This is the new fundamental protocol engine handler # -# $Id$ +# # # Copyright (c) 2004 Dirk Koopman G1TLH # @@ -12,12 +12,6 @@ use strict; package Thingy; -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; - use DXChannel; use DXDebug; @@ -50,7 +44,7 @@ sub send } else { no strict 'refs'; my $sub = "gen_$class"; - push @out, $thing->$sub if $thing->can($sub); + push @out, $thing->$sub() if $thing->can($sub); } $chan->send(@out) if @out; }