n Perl, and are not strictly the same thing. Though they will often be referred to interchangeably.
In internals sense an array is something that has a corresponding ,
which means that it can referenced and modified. A list is a temporary
construct of an unmodifiable set of values on the stack.
that means the list is the value, like (1,2,"test"), and the array is the variable @a = (1,2,"test").
阅读(405) | 评论(0) | 转发(0) |