This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ext/B/defsubs_h.PL: add explanatory comment
authorKarl Williamson <khw@khw-desktop.(none)>
Mon, 19 Jul 2010 23:18:03 +0000 (17:18 -0600)
committerRafael Garcia-Suarez <rgs@consttype.org>
Thu, 29 Jul 2010 10:10:18 +0000 (12:10 +0200)
ext/B/defsubs_h.PL

index 98a3e8b..f8fa1ed 100644 (file)
@@ -72,6 +72,10 @@ if ($] < 5.011) {
     doconst(CVf_LOCKED);
 }
 
+# First element in each tuple is the file; second is a regex snippet
+# giving the prefix to limit the names of symbols to define that come
+# from that file.  If none, all symbols will be defined whose values
+# match the pattern below.
 foreach my $tuple (['op.h'],['cop.h'],['regexp.h','RXf_'])
  {
   my $file = $tuple->[0];