This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
suppress warning (from John Tobey <jtobey@epsilondev.com>)
[perl5.git] / ext / B / B / Terse.pm
index 93757f3..bc9d943 100644 (file)
@@ -17,6 +17,7 @@ sub terse {
 sub compile {
     my $order = shift;
     my @options = @_;
+    B::clearsym();
     if (@options) {
        return sub {
            my $objname;
@@ -78,7 +79,7 @@ sub B::COP::terse {
     if ($label) {
        $label = " label ".cstring($label);
     }
-    print indent($level), peekop($op), $label, "\n";
+    print indent($level), peekop($op), $label || "", "\n";
 }
 
 sub B::PV::terse {