Re: Global variables / special variables / variable identifier with just one character

2004-10-08 Thread Bee
"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

Re: Global variables / special variables / variable identifier with just one character

2004-10-08 Thread Steve Bertrand
> 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