summaryrefslogtreecommitdiffstats
path: root/MDK
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-04-17 08:11:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-04-17 08:11:59 +0000
commit24b74bd6398ab319f10ad25e3141d888ac2bd399 (patch)
treea573b76448d297f343c5b83f62b871108bae799d /MDK
parentf95bae8026a539fcd4c2e7fde188a959a6b78169 (diff)
downloadperl-MDK-Common-24b74bd6398ab319f10ad25e3141d888ac2bd399.tar
perl-MDK-Common-24b74bd6398ab319f10ad25e3141d888ac2bd399.tar.gz
perl-MDK-Common-24b74bd6398ab319f10ad25e3141d888ac2bd399.tar.bz2
perl-MDK-Common-24b74bd6398ab319f10ad25e3141d888ac2bd399.tar.xz
perl-MDK-Common-24b74bd6398ab319f10ad25e3141d888ac2bd399.zip
fix rpmdrake, draksound, and every other each_index user crash
Diffstat (limited to 'MDK')
-rw-r--r--MDK/Common/Func.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/Func.pm b/MDK/Common/Func.pm
index 7ce9d5a..7f1a926 100644
--- a/MDK/Common/Func.pm
+++ b/MDK/Common/Func.pm
@@ -242,7 +242,7 @@ sub each_index(&@) {
my $f = shift;
local $::i = 0;
foreach (@_) {
- &$f->();
+ $f->();
$::i++;
}
}