Here's some terminology for you. You could look at making Package be a factory. You might also look at removing ISA relationships and using mixins instead. I'd go with the latter given what you just described.
package Package; use Package::Branch; ... package Package::Branch; use Exporter; *importer = \ &Exporter::importer; our @EXPORT = qw( get_branch get_trees ); ...
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: Class::Std and Reverse inheritance?
by diotalevi
in thread Class::Std and Reverse inheritance?
by mnology
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |