You can have the child classes register themselves with the superclass. One easy way to do this is via the superclass'es import subroutine, which is triggered by use.
See my recent node Re^2: How not to hardcode a package name? for an example.
In reply to Re: How to identify available subclasses?
by betterworld
in thread How to identify available subclasses?
by olliecook
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |