." for path ${path}";
$dir->catfile("index.${ext}")->print($res->content);
}
- warn "\nERRORS GENERATING PAGES:\n";
+ warn "\nERRORS GENERATING PAGES:\n" if @fail;
foreach my $fail (@fail) {
my ($path, $res) = @$fail;
warn "\nFailed to generate ${path}:\n";