Make the removal of references to AvFLAGS in the B modules conditional
[p5sagit/p5-mst-13.2.git] / ext / B / B / Debug.pm
index 39209cf..8b34a1d 100644 (file)
@@ -227,10 +227,12 @@ sub B::AV::debug {
     $av->B::SV::debug;
     my(@array) = $av->ARRAY;
     print "\tARRAY\t\t(", join(", ", map("0x" . $$_, @array)), ")\n";
-    printf <<'EOT', scalar(@array), $av->MAX, $av->OFF, $av->AvFLAGS;
+    printf <<'EOT', scalar(@array), $av->MAX, $av->OFF;
        FILL            %d
        MAX             %d
        OFF             %d
+EOT
+    printf <<'EOT', $av->AvFLAGS if $] < 5.009;
        AvFLAGS         %d
 EOT
 }