You could NOT access $var like this:package Foo; my $var = 20;
print $Foo::var;
In reply to Re: what is the difference between 'my' and 'local'?
by DBX
in thread what is the difference between 'my' and 'local'?
by kiseok7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |