From: Nicholas Clark Date: Tue, 3 Oct 2000 15:46:32 +0000 (+0100) Subject: [ID 20001003.006] B::Debug not -w clean X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7ebf56aef9a0edd5d4f5f68bdd8d96e5e1d42b5f;p=p5sagit%2Fp5-mst-13.2.git [ID 20001003.006] B::Debug not -w clean Message-Id: p4raw-id: //depot/perl@7134 --- diff --git a/ext/B/B/Debug.pm b/ext/B/B/Debug.pm index ae7a973..3e212e2 100644 --- a/ext/B/B/Debug.pm +++ b/ext/B/B/Debug.pm @@ -244,7 +244,7 @@ sub B::SPECIAL::debug { sub compile { my $order = shift; B::clearsym(); - if ($order eq "exec") { + if ($order && $order eq "exec") { return sub { walkoptree_exec(main_start, "debug") } } else { return sub { walkoptree(main_root, "debug") }