Porting/corelist-perldelta.pl - Skip dummy items during update
authorAbir Viqar <abiviq@hushmail.com>
Sat, 14 Dec 2013 19:06:35 +0000 (14:06 -0500)
committerSteve Hay <steve.m.hay@googlemail.com>
Thu, 19 Dec 2013 17:26:26 +0000 (17:26 +0000)
Porting/corelist-perldelta.pl

index 690d66a..5e9f32c 100755 (executable)
@@ -368,6 +368,9 @@ sub do_check {
       my $content = $item->{text};
       my $module  = $item->{name};
 
+      #skip dummy items
+      next if !$module and $content =~ /\s*xx*\s*/i;
+
       say "Could not parse module name; line is:\n\t$content" and next unless $module;
       say "$module is not in Module::CoreList; check to see that it is not covered by another section" and next
         unless $data->{$title}{$module};