diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-17 08:11:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-17 08:11:59 +0000 |
commit | 24b74bd6398ab319f10ad25e3141d888ac2bd399 (patch) | |
tree | a573b76448d297f343c5b83f62b871108bae799d /MDK | |
parent | f95bae8026a539fcd4c2e7fde188a959a6b78169 (diff) | |
download | perl-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.pm | 2 |
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++; } } |