perl中的@.
变量是什么?
它似乎是一个特殊的、可写的全局变量,并且(令人惊讶的是)不会插入双引号字符串:
use strict;
use warnings;
# Under 5.8, 5.10, 5.12, 5.14, and 5.16,
# the following lines produce:
@. = (3, 2, 1); # no error
print "@.\n"; # "@."
print @., "\n"; # "321"
eval 'my @.; 1' # Can't use global @. in "my" at (eval 1)
or die $@; # line 1, near "my @."
我不记得以前遇到过它,也没有在perlvar
nor中看到它perldata
。