This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: Eliminate op_children
[perl5.git] / ext / B / B / Debug.pm
index 2ae1cd3..1327591 100644 (file)
@@ -42,7 +42,7 @@ sub B::LOGOP::debug {
 sub B::LISTOP::debug {
     my ($op) = @_;
     $op->B::BINOP::debug();
-    printf "\top_last\t\t0x%x\n", ${$op->last};
+    printf "\top_children\t%d\n", $op->children;
 }
 
 sub B::PMOP::debug {