These were probably not currently buggy, but let's avoid bugs being
introduced by the functions called clobbering $_.
if ($config{rcs}) {
IkiWiki::disable_commit_hook();
}
- genindex($_) foreach @needed;
+ foreach my $page (@needed) {
+ genindex($page);
+ }
if ($config{rcs}) {
IkiWiki::rcs_commit_staged(
gettext("automatic index generation"),
sub import { #{{{
hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
- IkiWiki::loadplugin($_) foreach @bundle;
+ foreach my $plugin (@bundle) {
+ IkiWiki::loadplugin($plugin);
+ }
} # }}}
sub getsetup { #{{{