perl没有真正的二维数组,所谓的二维数组其实是把一维数组以引用的方式放到另外一个一维数组. 二维数组定义 : my @array1=([1,2],[3,4],[45,9],[66,-5]); <-----------使用[]表示匿名数组 或者 my @array2=qw/this is a array/;my @array3=("another","array");my @array4=(\@array2,\@array3);
#-1-变量使用,打印#!/usr/local/bin/perl$value=100+30+3+8;print("Value=",$value,"\n"); #-2-变量使用,打印#!/usr/local/bin/perl$value=1024;$sentence="The value of \$value is $value.\n";print($sentence); #-3-多次打印#!/usr/local/bin/perl$name=&qu
来源: http://www.cnblogs.com/itech/archive/2013/03/12/2956185.html 转自:http://perl.apache.org/docs/general/perl_reference/perl_reference.html use(), require(), do(), %INC and @INC Explained The @INC array @INC is a special Perl variable which is the equ
内核: uname -a Linux localhost.localdomain 3.4.29-t4 #12 Wed Mar 13 16:50:15 EST 2013 armv7l armv7l armv7l GNU/Linux dpkg安装应用时遇到问题,提示运行apt-get -f install修复依赖. apt-get -f install 后提示如下: debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @