how to deal with multi-pages like ---MORE-- pause by Expect.pm

2009-06-06 Thread 不坏阿峰
I can use expect scripts to connect one device and deal with multi pages lisk "---MORE---" by press Space to continue.but if fails when i want use While to deal with multi-pages. my question: (1) why the scripts can not run the While(1) part (2) what about the error: * at /usr/local/share/perl/5.

Re: Installing Language::Prolog::Yaswi

2009-06-06 Thread William
Thanks experts here, I think there is a problem with CPAN installer, after reading the README file for that module then I knew that my prolog program "pl" is not set in PATH. Also it will only installed if I installed it manually with "perl Makefile.pl" - Original Message > From: Willia

Installing Language::Prolog::Yaswi

2009-06-06 Thread William
Hello I'm trying to install Language::Prolog::Yaswi with no success. kis...@kisman-laptop:~$ sudo perl -MCPAN -e 'install Language::Prolog::Yaswi' CPAN: Storable loaded ok (v2.20) Going to read '/home/kisman/.cpan/Metadata' Database was generated on Thu, 04 Jun 2009 09:26:57 GMT CPAN: YAML loa