Thread Userinterface Modul Clui_sid
(8 answers)
Opened by Kuerbis at 2012-05-03 14:38 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 #!/usr/bin/env perl use warnings; use 5.12.0; use utf8; binmode STDOUT, ':encoding(utf-8)'; use Term::Choose qw(choose); my $choosen = choose( [ 'aaa' .. 'lzz' ], { prompt => 'Auswahl' } ); say "<$choosen>"; # in list Kontext multiple choice mit Leertaste my @choosen = choose( [ 'aa' .. 'zz', "\x{263a}" ], { prompt => 'Auswahl' } ); say "<@choosen>\n"; Update: Anhänge Last edited: 2012-05-12 17:52:12 +0200 (CEST) |