Cats萌萌
连到Unix系统后,输入命令 which perl ,然后回车。如果装了perl,就能知道在什么路径下安装的,如果显示找不到,就没装。已经安装:[host@host]~% which perl/usr/bin/perl[host@host]~%未安装:[host@host]~% which perlperl not found[host@host]~%显示版本:[host@host]~% perl -vThis is perl, v5.8.8 built for i386-linux-thread-multiCopyright 1987-2006, Larry WallPerl may be copied only under the terms of either the Artistic License or theGNU General Public License, which may be found in the Perl 5 source kit.Complete documentation for Perl, including FAQ lists, should be found onthis system using "man perl" or "perldoc perl". If you have access to theInternet, point your browser at http://www.perl.org/, the Perl Home Page.[host@host]~%