|
发表于 2012-3-13 15:55:34
|
显示全部楼层
数组在“”中内插的分隔符吧。
可以看perl的文档:
$LIST_SEPARATOR
$"
When an array or an array slice is interpolated into a double-quoted string or a similar context such as /.../, its elements are separated by this value. Default is a space. For example, this:
print "The array is: @array\n";
is equivalent to this:
print "The array is: " . join($", @array) . "\n";
Mnemonic: works in double-quoted context. |
|