Re: Deparse - parenthesise args to undeclared subs
Robin Houston [Tue, 17 Apr 2001 22:37:42 +0000 (23:37 +0100)]
Message-ID: <20010417223742.A6681@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9732

ext/B/B/Deparse.pm

index cdb6fa6..2a76d9e 100644 (file)
@@ -389,6 +389,9 @@ sub init {
 
     $self->{'arybase'}  = $self->{'ambient_arybase'};
     $self->{'warnings'} = $self->{'ambient_warnings'};
+
+    # also a convenient place to clear out subs_declared
+    delete $self->{'subs_declared'};
 }
 
 sub compile {