aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-06 16:19:54 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-06 16:19:54 -0400
commit1e17ea0b65e4f296e0e53116be5d5e692b81b2af (patch)
tree0f05c1d9d7bccfe02a3c874606f8d6083b3308cf /IkiWiki/Plugin/goodstuff.pm
parentfea76a11bc3673bc6fb523cffd8c325982bf44f7 (diff)
downloadikiwiki-1e17ea0b65e4f296e0e53116be5d5e692b81b2af.tar
ikiwiki-1e17ea0b65e4f296e0e53116be5d5e692b81b2af.tar.gz
avoid $_ in a few other for loops
These were probably not currently buggy, but let's avoid bugs being introduced by the functions called clobbering $_.
Diffstat (limited to 'IkiWiki/Plugin/goodstuff.pm')
-rw-r--r--IkiWiki/Plugin/goodstuff.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/goodstuff.pm b/IkiWiki/Plugin/goodstuff.pm
index 08ed960b4..ed1f4ddfc 100644
--- a/IkiWiki/Plugin/goodstuff.pm
+++ b/IkiWiki/Plugin/goodstuff.pm
@@ -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 { #{{{