haibaraxx的个人博客分享 http://blog.sciencenet.cn/u/haibaraxx

博文

Perl: check if Perl is installed in your computer

已有 1896 次阅读 2016-12-21 02:30 |个人分类:Perl|系统分类:科研笔记| Perl, version

# Check the Perl version installed


In the terminal, type in:


$ perl -v


This is perl 5, version 24, subversion 0 (v5.24.0) built for darwin-thread-multi-2level

Copyright 1987-2016, 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.


# Summary of Perl configuration


$ perl -V


Summary of my perl5 (revision 5 version 24 subversion 0) configuration:


Platform: ...

Compiler: ...

Linker and Libraries: ...

Dynamic Linking: ...

Characteristics of this binary (from libperl):
 Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                       PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV
                       PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                       PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                       PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV
                       USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                       USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                       USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
                       USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
 Built under darwin
 Compiled at May 11 2016 09:17:03
 @INC:
   /opt/local/lib/perl5/site_perl/5.24/darwin-thread-multi-2level
   /opt/local/lib/perl5/site_perl/5.24
   /opt/local/lib/perl5/vendor_perl/5.24/darwin-thread-multi-2level
   /opt/local/lib/perl5/vendor_perl/5.24
   /opt/local/lib/perl5/5.24/darwin-thread-multi-2level
   /opt/local/lib/perl5/5.24






https://blog.sciencenet.cn/blog-3031432-1022092.html

上一篇:mac: update Macports (with Mac OS X Mavericks)
下一篇:Matlab: figure
收藏 IP: 134.1.1.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-7-18 06:29

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部