From: Rafael Garcia-Suarez Date: Sun, 4 Oct 2009 16:09:14 +0000 (+0200) Subject: Don't autovivify a spurious key "all" in the %Targets hash X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=577f3cc60e634c69638318267d4ed3b7b0f48df5;p=p5sagit%2Fp5-mst-13.2.git Don't autovivify a spurious key "all" in the %Targets hash --- diff --git a/pod/buildtoc b/pod/buildtoc index b3b29c5..83eb447 100755 --- a/pod/buildtoc +++ b/pod/buildtoc @@ -209,7 +209,7 @@ close MASTER; warn "$0: $i exists but is unknown by perl.pod\n" if !$perlpods{$i} && !exists $sources{$i}; } - my @BuildTargets = grep {defined} @Targets{keys %Build}; + my @BuildTargets = grep {defined} @Targets{grep $_ ne 'all', keys %Build}; my %BuildFiles; @BuildFiles{@BuildTargets} = @BuildTargets;