This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Teach B::Concise about OPpFT_STACKING
authorFather Chrysostomos <sprout@cpan.org>
Sun, 11 Sep 2011 05:26:29 +0000 (22:26 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 11 Sep 2011 05:33:18 +0000 (22:33 -0700)
ext/B/B/Concise.pm

index 99d76af..8ab7e00 100644 (file)
@@ -650,7 +650,7 @@ $priv{$_}{2} = "FTACCESS"
 $priv{"entereval"}{2} = "HAS_HH";
 if ($] >= 5.009) {
   # Stacked filetests are post 5.8.x
-  $priv{$_}{4} = "FTSTACKED"
+  @{$priv{$_}}{4,8} = ("FTSTACKED","FTSTACKING")
     for ("ftrread", "ftrwrite", "ftrexec", "fteread", "ftewrite", "fteexec",
          "ftis", "fteowned", "ftrowned", "ftzero", "ftsize", "ftmtime",
         "ftatime", "ftctime", "ftsock", "ftchr", "ftblk", "ftfile", "ftdir",