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::Inspector->subclasses. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/courses/perl3/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/