There's more than one way to do things | |
PerlMonks |
RE: RE: RE: i thought i knew 'our'...by autark (Friar) |
on Jul 24, 2000 at 21:03 UTC ( [id://24124]=note: print w/replies, xml ) | Need Help?? |
Something like that, yes. Because the variables are put into
the symbol table, they are global. In fact, 'our' has no semantical
effect unless you use strict vars, so:
and shouldn't be different at all. It is first when you introduce use strict vars that the our keyword will have a different semantical effect. Autark.
In Section
Seekers of Perl Wisdom
|
|