in reply to Re^4: subclass discovery at runtime in thread subclass discovery at runtime
Yep... You're right... I just figured that out... Discovered an issue with recursing thru the namespace too; seems there's a 'main::main::' entry, which causes infinite recursion, so you'd need to keep track of what namespaces you've checked...
Re^6: subclass discovery at runtime
by Aristotle (Chancellor) on Jan 27, 2003 at 23:00 UTC
|
| [reply] |
|
Right... Makes sense actually... That way every package can easily access the main package... Ah well... My duplicate-checking code seems to work too... At least I've learnt a bit about the symbol table and such because of this thread... :)
| [reply] |
|