perl - 常用功能切片
处理字符串处理数组统计属组中特定元素的个数12@array=(1,2,2,2,3,4,5,6,7);$number = grep { $_ == 2 } @array; # 统计数组中元素是 “2” 的元素个数。
处理字典生成title索引1@h{@t} =
...
Perl包:Statistics_Descriptive 数据统计
模块名: Statistics::Descriptive
使用方法简介构建对象12use Statistics::Descriptivemy $stat = Statistics::Descriptive::Full->new();
导入数据12$stat->add_data(@a);
...
Perl包:包安装工具-CPAN
镜像配置几个主要的CPAN站点有:国内: ftp://freesoft.cgi.gov.cn/pub/languages/perl/CPAN http://cpan.qz.fj.cn/ 国外: http://www.cpan.org/ http://www.perl.com/CPAN-loc
...
Perl包:包管理常用命令
包查询列出所有系统中已经安装的perl模块可以通过以下三种方式,查询系统中已经安装的所有perl模块
123perldoc perllocalinstmodsh # 显示模块find `perl -e 'print "@INC"'` -name '
...