From 577f3cc60e634c69638318267d4ed3b7b0f48df5 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Sun, 4 Oct 2009 18:09:14 +0200 Subject: [PATCH] Don't autovivify a spurious key "all" in the %Targets hash --- pod/buildtoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1