in reply to getting a list of all subclasses of base class x

I want this because I want to register all of them at initialization time.
I would look for a way to have the classes register themselves at initialization.

Are the subclasses using use base to set their @ISA array? Can you modify the subclass code? More details could yield more answers...

Replies are listed 'Best First'.
Re^2: getting a list of all subclasses of base class x
by hexcoder (Curate) on Jul 08, 2008 at 19:32 UTC
    thanks,
    the problem is, I want to do some analysis based on PPI generated tokens and PPI does not know my application. So the classes are sort of cast in stone and out of my reach.

    I thought it would be best, if PPI would offer a method to deliver a list of all token classes that it is using. So, all clients could ask the service providing module, if they need to.
    However that does not seem to be the case, so I am looking for something else.