I'd like to create a hierarchy of perl modules based on a directed acyclical graph (a branching tree). Each node would become a class which would automagically have methods allowing it to access to any of the nodes below it on the tree (it's transitive closure).
I'm pretty sure I know how to inject methods into a package via it's symbol table, but can anyone point me in the right direction for further reading about how to dynamically create packages in perl.
In reply to Dynamic Packages in Perl by barvin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |