|Think about Loose Coupling|
Re^2: symboltable problemby morgon (Curate)
|on Jun 20, 2012 at 19:22 UTC||Need Help??|
Ok, call me stupid but I don't get what you are trying to say.
I re-phrase my question:
For package "Hubba", it's symbol table is stored in a hash %Hubba:: that maps symbol-names to typeglobs.
So when I do %Bubba:: = %Hubba:: (I am NOT doing *Bubba::=*Hubba::) the whole symbol-to-typeglob mapping is copied to another hash (which happens to be the symbol-table of another package).
So why does that then not create aliases?
I can do this:
which shows that I can create variables by manipulating the symbol-table. Why does that not happen in my script?
Can someone explain that in plain english without using the word "magic"?