]> dxcluster.org Git - spider.git/commitdiff
fix 5.8 ism that does not work on 5.6 (incrementing a subroutine).
authorminima <minima>
Tue, 10 Jan 2006 16:23:21 +0000 (16:23 +0000)
committerminima <minima>
Tue, 10 Jan 2006 16:23:21 +0000 (16:23 +0000)
perl/DXProt.pm

index 39b023c482705163e1be93f84e256766cbffcfa9..352a4f6a4aae9bd715467aab117ad842bd295dd9 100644 (file)
@@ -930,7 +930,7 @@ sub handle_18
                        $self->user->put;
                        $self->sort('S');
                }
-               $self->handle_xml++ if $_[1] =~ /\bxml\b/;
+               $self->{handle_xml}++ if $_[1] =~ /\bxml\b/;
        } else {
                $self->version(50.0);
                $self->version($_[2] / 100) if $_[2] && $_[2] =~ /^\d+$/;