diff options
Diffstat (limited to 'MDK/Common/Func.pm')
-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 c77b588..8048da9 100644 --- a/MDK/Common/Func.pm +++ b/MDK/Common/Func.pm @@ -201,7 +201,7 @@ sub map_index(&@) { } sub each_index(&@) { my $f = shift; - my @v; local $::i = 0; + local $::i = 0; foreach (@_) { &$f($::i); $::i++; |