summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-05 23:20:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-05 23:20:39 +0000
commit4d07cd7bcaa7cdd09d1407de21fc6959312b44d7 (patch)
tree02167c79892cda96a6aa31f6c9be65463c98f2e3
parent645c0ecd4b2d7eca02b70cde36d888371f660910 (diff)
downloaddrakx-4d07cd7bcaa7cdd09d1407de21fc6959312b44d7.tar
drakx-4d07cd7bcaa7cdd09d1407de21fc6959312b44d7.tar.gz
drakx-4d07cd7bcaa7cdd09d1407de21fc6959312b44d7.tar.bz2
drakx-4d07cd7bcaa7cdd09d1407de21fc6959312b44d7.tar.xz
drakx-4d07cd7bcaa7cdd09d1407de21fc6959312b44d7.zip
format => sub { ...} doesn't pass parameter as $_, but as $_[0]
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 26e4343d9..cc56c1298 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1077,7 +1077,7 @@ connections from many clients. Note: if your machine is only a client on the Int
N("Please choose the desired security level") . "\n\n" .
join('', map { "$l{$_}: " . formatAlaTeX($help{$_}) . "\n\n" } ikeys %l),
[
- { label => N("Security level"), val => $security, list => [ sort keys %l ], format => sub { $l{$_} } },
+ { label => N("Security level"), val => $security, list => [ sort keys %l ], format => sub { $l{$_[0]} } },
if_($in->do_pkgs->is_installed('libsafe') && arch() =~ /^i.86/,
{ label => N("Use libsafe for servers"), val => $libsafe, type => 'bool', text =>
N("A library which defends against buffer overflow and format string attacks.") }),