|Perl Monk, Perl Meditation|
Re^7: Indirect variable nameby LanX (Cardinal)
|on Nov 21, 2008 at 14:28 UTC||Need Help??|
Ok, thx, this makes sence.
::MY might be what I tried to describe with %PAD stash, a dynamic symboltable for the current scope, making [cmod://PadWalker] obsolete. VERY GOOD! 8 )
And I think I can imagine what is meant lexical scoped packages, in perl 5 packages have no privacy at all, you can access them from everywhere. But if the packagename is scoped you may control it.
AFAIK In perl 5 packages are just referenced in the upper stash to be accessible in this namespace, so forming a global tree going up until the main stash %::. But scoping them lexically means to restrict in which scopes namespace they really are accessible. I LIKE this, too! 8 )
Thx for the insight!
UPDATES: adjusting of PadWalker link