标签: perl syntax declaration
为my % foo;或my $ string;编译perl的原因已经answer,但我很惊讶地看到变量名称也是如此本身就是一个函数,例如split:
my % foo;
my $ string;
use warnings; use strict; my $ split = 'why does this work?'; say $split; # why does this work?
情况怎么样?