在 2006/6/23 下午 1:31 時,Patrick R. Michaud 寫到:
I interpret the first sentence as meaning that the "MY" pseudo-package refers to all of the symbols in the current lexical scope, not just those that have been explicitly declared in the current scope using "my".
Same interpretation here, as S02 says $MY::foo is just $::foo which is just a lexically-looked up $foo, it follows that MY::.keys will contain all visible lexical symbols, which will be a subset of OUR::.keys, instead of disjoint.
Some example code in S02 could help... Thanks, Audrey
PGP.sig
Description: This is a digitally signed message part