diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-06 00:38:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-06 00:38:57 +0000 |
commit | c75193289b79d4c0687aa6a597b51436568f8360 (patch) | |
tree | 0dde0958b1d48a729e30be420f9f8c94004b7ef8 /perl-install/printerdrake.pm | |
parent | c5d30320d3d120ccd291ccc7b7271400a4f20e4a (diff) | |
download | drakx-c75193289b79d4c0687aa6a597b51436568f8360.tar drakx-c75193289b79d4c0687aa6a597b51436568f8360.tar.gz drakx-c75193289b79d4c0687aa6a597b51436568f8360.tar.bz2 drakx-c75193289b79d4c0687aa6a597b51436568f8360.tar.xz drakx-c75193289b79d4c0687aa6a597b51436568f8360.zip |
no_comment
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r-- | perl-install/printerdrake.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index 827ef9a33..9d7349740 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -195,8 +195,7 @@ _("Extra Text options") => \$printer->{TEXTONLYOPTIONS}, printer::configure_queue($printer); $printer->{complete} = 0; - $action = ${{reverse %action}}{$in->ask_from_list('', _("Do you want to test printing?"), - [ map { $action{$_} } @action ], $action{'done'})}; + $action = $in->ask_from_list('', _("Do you want to test printing?"), sub { $action{$_[0]} }, \@action, 'done'); my @testpages; push @testpages, "/usr/lib/rhs/rhs-printfilters/testpage.asc" |