tidy the Local.pm changes
[spider.git] / perl / DXProt.pm
index 8b415974ed55cef98fd1062cc448576b8ca02a5e..eafb591dac4d64a5d3da6db501a150b116130794 100644 (file)
@@ -420,6 +420,12 @@ sub normal
                }
        }
 
+       if (defined &Local::pcprot) {
+               my $r;
+               eval { $r = Local::pcprot($self, $pcno, $line, @field); };
+               return if $r;                   # i.e don't process it
+       }
+
        # send it out for processing
        my $origin = $self->{call};
        no strict 'subs';