If you omit the control varibele from the beiginning of foreach loop, Perl uses its favrorite default variable $_. This is (mostly) just like any other scalar variable, except for its unusual name. For example: ..) { #use $_ by default print "I can c…
一:基础 1:安装perl centos: yum -y install perl 官网:https://www.perl.org/ 升级到5.22:先下载,执行./install.sh 安装 报错:/lib64/libc.so.6: version `GLIBC_2.14' not found (required by perl/bin/perl) 原因:编译时写死了glibc的版本,而系统中只到2.12 ,所以重装gli…