diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-08 11:40:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-08 11:40:40 +0000 |
commit | a9de3d40e931ae5727f7011ee4b6cf86bac7b8af (patch) | |
tree | c62a83490bf25100d38fe1354e4c6d68cd41635b /perl-install/interactive.pm | |
parent | c7ce6282bc6360e3106818c301c550523f7a1f7a (diff) | |
download | drakx-backup-do-not-use-a9de3d40e931ae5727f7011ee4b6cf86bac7b8af.tar drakx-backup-do-not-use-a9de3d40e931ae5727f7011ee4b6cf86bac7b8af.tar.gz drakx-backup-do-not-use-a9de3d40e931ae5727f7011ee4b6cf86bac7b8af.tar.bz2 drakx-backup-do-not-use-a9de3d40e931ae5727f7011ee4b6cf86bac7b8af.tar.xz drakx-backup-do-not-use-a9de3d40e931ae5727f7011ee4b6cf86bac7b8af.zip |
no_comment
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 4cf9ef95b..44fcae50f 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -126,14 +126,14 @@ sub ask_from_entries_ref($$$$;$%) { my ($o, $title, $message, $l, $val, %callback) = @_; $message = ref $message ? $message : [ $message ]; - my $val_hash = [ map - { if ((ref $_) eq "SCALAR") { - { val => $_ } - } else { - ($_->{list} && @{$_->{list}}) ? - { %{$_}, type => "list"} : $_ - } - } @{$val} ]; + my $val_hash = [ map { + if ((ref $_) eq "SCALAR") { + { val => $_ } + } else { + ($_->{list} && @{$_->{list}}) ? + { %{$_}, type => "list"} : $_; + } + } @$val ]; $o->ask_from_entries_refW($title, $message, $l, $val_hash, %callback) |