X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=80a31ed517a6829d91c4cf5ae034478403cf711f;hb=3d842f83cfb7f543a8f861967ca5004876a36a16;hp=7b69ad22c1b17d4e462f588b196418e5121c04d0;hpb=fe4f4e3751da3786d25df2fe2fba104523de095d;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 7b69ad22..80a31ed5 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -958,7 +958,7 @@ sub do_entry_stuff my $loc = $self->{loc} || confess "local var gone missing" ; if ($line eq "\032" || $line eq '%1A' || uc $line eq "/EX") { no strict 'refs'; - push @out, $loc->{endaction}($self); + push @out, &{$loc->{endaction}}($self); # like this for < 5.8.0 $self->func(undef); $self->state('prompt'); } elsif ($line eq "\031" || uc $line eq "/ABORT" || uc $line eq "/QUIT") {