http://www.perlmonks.org?node_id=725138


in reply to Re^6: Indirect variable name
in thread Indirect variable name

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!

Cheers Rolf

UPDATES: adjusting of PadWalker link