Perl------- 有没有人使用UI::Dialog::Backend::CDialog这个模块?怎样在一个inputbox里面显示两个输入框呢(entry)?
如题。
我想在一个inputbox里面显示两个entry,获得两个输入。这个模块的帮助文档写的很少,我找不到相关的说明。想问问大家是怎么解决的。
----------------------------------------------
默认的inputbox代码如下:
my $host;
my $d = new UI::Dialog::Backend::CDialog ( backtitle => 'For the
common view' , height => 28, width => 85, listheight => 5);
$string = $d->inputbox(
title => 'Step 1: enter hostname',
text => 'Pls enter the hostname',
entry => $default,
);