This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
use Foo (sub {...});
authorRobin Houston <robin@cpan.org>
Sun, 6 May 2001 16:46:54 +0000 (17:46 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 7 May 2001 00:57:38 +0000 (00:57 +0000)
Message-ID: <20010506164654.A6848@penderel>

p4raw-id: //depot/perl@10012

ext/B/B/Deparse.pm

index 2f01389..ef367c2 100644 (file)
@@ -271,6 +271,7 @@ sub next_todo {
 sub begin_is_use {
     my ($self, $cv) = @_;
     my $root = $cv->ROOT;
+    local @$self{qw'curcv curcvlex'} = ($cv);
 #require B::Debug;
 #B::walkoptree($cv->ROOT, "debug");
     my $lineseq = $root->first;