LoveApple >> perl

perl

perl程序属于解释执行语言,在运行前需要经过解释器解析编译后执行,怎么查看当前默认的perl解释器版本呢?

在类unix系统下面打开任意一个终端窗口,输入:perl -v 回车就可以看到类似如下信息:

iMac:os Alex$ perl -v

This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2010, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

继续阅读 »

© 2005-2011 LoveApple浙ICP备05080468号 推荐使用SafariChromeIE9Opera浏览器1024X768分辨率浏览 LoveApple