为什么没有发出错误strict:
strict
use strict; $a = $a + 1;
perl strictures
有人可以向我解释下面的代码.这种行为已经有一段时间了(在5.8.5,5.8.8,5.10.1,5.12.2上测试过),所以必须有一个原因吗?
$ perl -M5.012 -E '$aa=2' Global symbol "$aa" requires explicit package name at -e line 1. $ perl -M5.012 -E '$a=2'
谢谢.
perl ×2
strictures ×2