"Adam" <[EMAIL PROTECTED]> 在郵件 news:[EMAIL PROTECTED] 中撰寫...
> Expected error message: "Global symbol "$b" requires explicit package name".
> However, I get result: "test".
> I've checked the special variables and it looks like $b is one of these.
>
> use warnings;
> use strict;
> zzz ($b);
> prin
> Expected error message: "Global symbol "$b" requires explicit package
> name".
> However, I get result: "test".
> I've checked the special variables and it looks like $b is one of
> these.
>
> use warnings;
> use strict;
> zzz ($b);
> print "$b\n";
> sub zzz{
> $_[0] = "test";
> }
>
> Does it