X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy.pm;h=f10467986dcb0d4215f591bfa4b881b61ef3567b;hb=d2580480d24be5e8f1beb4aeeb40980db0dedde0;hp=2483d2732705a8f566ae359ca86fd8a194d98167;hpb=6f20114b034d329c1e2a4f91f0aba2f6ec4002d4;p=spider.git diff --git a/perl/Thingy.pm b/perl/Thingy.pm index 2483d273..f1046798 100644 --- a/perl/Thingy.pm +++ b/perl/Thingy.pm @@ -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; }