加油!学好Perl!学好 Unix! 如果想把Unix当作日常系统来用,那还是推荐Linux
2011/5/5 xzherryjerry <[email protected]>: > Robin Lee: > 您好! > 非常感谢您的帮助,我已经能够正常运行了! > 我用minix2.04,是因为我正在学习《操作系统:设计与实现》; > 我原先在xp上学习过Perl脚本,我想将perl应用到操作系统上, > 这个老的perl脚本是minix网站上推荐的! > 谢谢! > JerryLiu > 2011-05-05 > > > > > -----原始邮件----- >> 发件人: "Robin Lee" <[email protected]> >> 发送时间: 2011年5月5日 星期四 >> 收件人: [email protected] >> 抄送: >> 主题: Re: Re: Re: Re: [PerlChina] minix2.04上执行perl >> >> 不知道LZ为什么要用Minix而且是这么老的版本。 >> Perl 也是远古的 5.004 版 >> >> 2011/5/5 xzherryjerry <[email protected]>: >> > Robin Lee: >> > 您好! >> > 非常感谢您的帮助,我在minix里面输入: chmod +x >> > /usr/local/perl/bin/perl,按Enter键后, >> > 然后输入 /usr/local/perl/bin/perl -V,按Enter键后,显示信息如下: >> > Can't locate Config.pm in @INC (@INC >> > contains:/usr/local/lib/perl5/i386-inix/5.00404 >> > /usr/local/lib/perl5 >> > /usr/local/lib/perl5/site_perl/i386-minix >> > /usr/local/lib/perl5/site_perl .) >> > BEGIN failed--compilation aborted! >> > 但是当我输入:/usr/local/perl/bin/perl >> > /usr/Jerry_minix/perl_t/perl1.pl后, >> > 按Enter键后,已经能够输出正确的结果了! >> > >> > 谢谢! >> > >> > 刘琼 >> > >> > 2011-05-05 >> > >> > > -----原始邮件----- >> >> 发件人: "Robin Lee" <[email protected]> >> >> 发送时间: 2011年5月5日 星期四 >> >> 收件人: [email protected] >> >> 抄送: >> >> 主题: Re: Re: Re: [PerlChina] minix2.04上执行perl >> >> >> >> 给perl添加可执行权限: >> >> chmod +x /usr/local/perl/bin/perl >> >> >> >> 然后再运行一下 >> >> /usr/local/perl/bin/perl -V >> >> >> >> 2011/5/5 xzherryjerry <[email protected]>: >> >> > Robin Lee: >> >> > 您好! >> >> > 我 输入 ls -l /usr/local/perl/bin >> >> > perl1.pl【这是我的perl脚本】后,按Enter键后,屏幕显示:-rw-r--r- 1 root operator 24 May >> >> > 4 >> >> > 23:19 >> >> > perl1.pl >> >> > /usr/local/perl/bin: >> >> > total 489 >> >> > -rw-r--r- 1 500 4294967284 500184 Apr 25 1998 perl >> >> > 我输入 ls -l /usr/local/bin >> >> > perl1.pl【这是我的perl脚本】后,按Enter键后,屏幕显示: -rw-r--r- 1 root operator 24 >> >> > May >> >> > 4 >> >> > 23:19 perl1.pl >> >> > /usr/local/bin: >> >> > total 169 >> >> > -rwxr-xr-x 1 bin operator 338 May 21 2006 dejunk.sh >> >> > -rwxr-xr-x 1 bin operator 16072 Jun 1 2006 dir2html >> >> > -rwxr-xr-x 1 bin operator 15044 Jun 1 2006 hexd >> >> > -rwxr-xr-x 2 bin operator 55384 Jun 1 2006 httpd >> >> > -rwxr-xr-x 2 bin operator 55384 Jun 1 2006 in.httpd >> >> > -rwxr-xr-x 1 bin operator 8132 Jun 17 2003 shmem >> >> > -rwxr-xr-x 1 bin operator 18608 May 17 2006 vmw >> >> > >> >> > 谢谢 >> >> > >> >> > JerryLiu >> >> > >> >> > 2011-05-05 >> >> > >> >> > >> >> > >> >> > > -----原始邮件----- >> >> >> 发件人: "Robin Lee" <[email protected]> >> >> >> 发送时间: 2011年5月5日 星期四 >> >> >> 收件人: [email protected] >> >> >> 抄送: >> >> >> 主题: Re: Re: [PerlChina] minix2.04上执行perl >> >> >> >> >> >> ls -l /usr/local/perl/bin >> >> >> 看看 >> >> >> >> >> >> 再试试 >> >> >> ls -l /usr/local/bin >> >> >> >> >> >> 2011/5/5 xzherryjerry <[email protected]>: >> >> >> > 还有,我用的是:minix2.04 perl5 >> >> >> > >> >> >> > >> >> >> > >> >> >> > > -----原始邮件----- >> >> >> >> 发件人: "Robin Lee" <[email protected]> >> >> >> >> 发送时间: 2011年5月4日 星期三 >> >> >> >> 收件人: [email protected] >> >> >> >> 抄送: >> >> >> >> 主题: Re: [PerlChina] minix2.04上执行perl >> >> >> >> >> >> >> >> 试下运行 /usr/local/perl/bin/perl -V >> >> >> >> 看输出什么信息 >> >> >> >> >> >> >> >> 2011/5/4 xzherryjerry <[email protected]>: >> >> >> >> > 大家好! >> >> >> >> > 我第一次发帖,不要拍砖啊! >> >> >> >> > 是这样的: >> >> >> >> > 我将perl.tar.Z解压到minix2.04的/usr/local/perl,但是我怎么 >> >> >> >> > 能够用这perl命令执行perl脚本呢? >> >> >> >> > >> >> >> >> > 谢谢! >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > -- >> >> >> >> > 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 >> >> >> >> > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> >> >> >> > 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> >> >> >> > 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN >> >> >> >> > 访问此网上论坛。 >> >> >> >> > >> >> >> >> >> >> >> >> -- >> >> >> >> 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 >> >> >> >> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> >> >> >> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> >> >> >> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN >> >> >> >> 访问此网上论坛。 >> >> >> >> >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 >> >> >> > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> >> >> > 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> >> >> > 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN >> >> > 访问此网上论坛。 >> >> >> > >> >> >> >> >> >> -- >> >> >> 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 >> >> >> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> >> >> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> >> >> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN >> >> >> 访问此网上论坛。 >> >> >> >> >> > >> >> > >> >> > -- >> >> > 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 >> >> > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> >> > 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> >> > 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN >> > 访问此网上论坛。 >> >> > >> >> >> >> -- >> >> 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 >> >> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> >> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> >> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。 >> >> >> > >> > >> > -- >> > 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 >> > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> > 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> > 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN > 访问此网上论坛。 >> > >> >> -- >> 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 >> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。 >> > > > -- > 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 > 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 > 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。 > -- 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
