|
b******e 发帖数: 432 | 2 What is the difference between the two following declarations?
my $thing1 = [ 1, 2, 3 ];
my @thing2 = ( 1, 2, 3 ); |
|
S**I 发帖数: 15689 | 3 前一个是array,后一个是list
What is the difference between the two following declarations?
my $thing1 = [ 1, 2, 3 ];
my @thing2 = ( 1, 2, 3 ); |
|
b******e 发帖数: 432 | 4 The first one: $thing1 = the reference to the array (1,2,3)
The second one: @thins2 is the array (1,2,3) |
|
a**y 发帖数: 6501 | 5 来我们家要糖的一家,
双胞胎
爸爸穿cat in the hat, 俩儿子带着蓝色的火焰假发, thing1 and thing2, 可爱 |
|
|
b******e 发帖数: 432 | 7 What is the difference between the two following declarations?
my $thing1 = [ 1, 2, 3 ];
my @thing2 = ( 1, 2, 3 ); |
|
DK 发帖数: 194 | 8 The first one: $thing1 = the reference to the array (1,2,3)
The second one: @thins2 is the array (1,2,3) |
|