If a scalar is the "singular" in Perl, as we described it at the beginning of Chapter 2, the "pulural" in Perl is represented by lists and arrays. A list is an ordered collection of scalars. An array is a variable that contains a list.
1.数组相等,数组成员相同,位置也相同 一般的如果判断@array1 等于 @array2 a.数组长度相同 $#array1=$#array2, 比较数组长度,不能使用length函数,length只适用string类型 数组参数传递,不能直接传递 sub compare() { ; my ($first,$second)=@_; if (@$first==@$second) # the number of the array , don't use length() { ;$i<@$firs