avoid $_ in a few other for loops
[ikiwiki.git] / IkiWiki / Plugin / goodstuff.pm
index 08ed960b4a3ff8bc7d10419e765a7bd3b4fbc8f0..ed1f4ddfc6cab5d88604be3fbe409ba3a573f642 100644 (file)
@@ -27,7 +27,9 @@ my @bundle=qw{
 
 sub import { #{{{
        hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
-       IkiWiki::loadplugin($_) foreach @bundle;
+       foreach my $plugin (@bundle) {
+               IkiWiki::loadplugin($plugin);
+       }
 } # }}}
 
 sub getsetup { #{{{