summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/buildtoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/buildtoc b/pod/buildtoc
index e4764b06eb..452d5913be 100644
--- a/pod/buildtoc
+++ b/pod/buildtoc
@@ -260,7 +260,7 @@ close MASTER;
}
# Find all the modules
-{
+if ($Build{toc}) {
my @modpods;
find \&getpods => abs_from_top('lib/');