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