有这个:
use utf8;
package ÁngryBird; #note the Á in the package name
perl -c
结果是syntax OK
。
use utf8;
package ÁngryMoose;
use Moose;
perl -c
说,
ÁngryMoose is not a module name at
/opt/local/lib/perl5/site_perl/5.12.4/darwin-multi-2level/Class/MOP/Package.pm
line 209.
那么,代码有什么问题?