On Dec 6, 2006, at 11:51 AM, Alan Campbell wrote:


1 final request....I have to document/comment this stuff...hence need to accurately state what its doing. I put: -
#
# Our perl proxy for Java's importPackage(). We alias TraceLevel
# to the fully scoped package name so we can then use the shorter namespace
# $TraceLevel::ALL instead of
# $DSS_SCRIPTING::com::ti::ccstudio::scripting::environment::TraceLevel: :ALL # Internally this creates a TraceLevel symbol table which holds typeglobs
# to each of the class fields (ALL, INFO, CONFIG etc)

I don't think it's actually "aliasing", which to me would imply that the TraceLevel package actually points to the other package (like a filesystem link). It's just that all the entries in the other package have been copied into the TraceLevel package. But you could still create more new entries in one package after the copy is made, without them showing up in the other package.


 -Ken

Reply via email to