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 mean - that in general - we should not use one character variables
in Perl?
thanks
adam



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to