Re: discover all packages subclassing some other package

2011-06-11 Thread Peter Scott
On Sat, 11 Jun 2011 08:25:15 +0200, marcos rebelo wrote: > I need to discover all the packages (not files, the symbolic tables) > that are child of my package, something like: > > my @child = map { $_->isa('My::Class') } ->ALL_PACKAGES<- > > How do I create the ->ALL_PACKAGES<- list? Class::Ins

Re: discover all packages subclassing some other package

2011-06-11 Thread marcos rebelo
I found an half solution, since it doesn't get me the ->ALL_PACKAGES<- mro::get_isarev($classname) How do I get the ->ALL_PACKAGES<-? Thanks for all your help Marcos Rebelo On Sat, Jun 11, 2011 at 08:25, marcos rebelo wrote: > > I need to discover all the packages (not files, the symbolic tab

discover all packages subclassing some other package

2011-06-10 Thread marcos rebelo
I need to discover all the packages (not files, the symbolic tables) that are child of my package, something like: my @child = map { $_->isa('My::Class') } ->ALL_PACKAGES<- How do I create the ->ALL_PACKAGES<- list? Notice that the focus of these question is the creation of ->ALL_PACKAGES<- T