我需要用Perl来使用NCurses.我发现一些非常短的文本,但没有任何例子.
有没有人知道现有的在线指南?
谢谢!
解决方法
http://metacpan.org/pod/Curses::UI::Tutorial
http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
来自tldp.org的示例是:
http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ncurses_programs/perl/
另外,从http://www.perl.com/doc/FAQs/FAQ/oldfaq-html/Q3.8.html:
For a good example of using curses
with Perl,you might want to pick up a
copy of Steven L Kunz’s*perl
menu.pl”) via
menus'' package (
anonymous FTP from
“ftp.iastate.edu”. It’s in the
directory /pub/perl as:
menu.pl.v3.1.tar.ZAnother possibility is to use Henk Penning’s cterm package,a curses emulation library written in perl. cterm is actually a separate program with which you communicate via a pipe. It is available from ftp.cs.ruu.nl [131.211.80.17] via anonymous ftp. in the directory pub/PERL.