Perl------- 有没有人使用UI::Dialog::Backend::CDialog这个模块?怎样在一个inputbox里面显示两个输入框呢(entry)?

DanielC 2009-03-09 07:18:08
如题。
我想在一个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,
);
...全文
33 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

37,742

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧