X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy.pm;h=61068e06b2f7e5df80cd4275b33627eca633edd6;hb=849e28c79f3d3e19db3429f965b10426362fe04f;hp=2483d2732705a8f566ae359ca86fd8a194d98167;hpb=e4366c330ee2e359f1a2404f9ff35075e81165cc;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; }