summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index d9ed66fce..2a8ca998b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -661,6 +661,7 @@ sub autologin {
#- part of perl-MDK-Common-1.1.7-2mdk but since cooker is frozen...
sub uniq_(&@) {
my $f = shift;
+ my %l;
$l{$f->($_)} = 1 foreach @_;
grep { delete $l{$f->($_)} } @_;
}