get_isarev#
List every class that inherits from $class, directly or transitively, via @ISA.
Synopsis#
my $subclasses = mro::get_isarev($class); # arrayref
Returns an array reference of package names: each class whose linearized MRO contains $class. This is the inverse of get_linear_isa — given a parent, find its descendants.
UNIVERSAL is treated specially: its isarev list is not populated with every class in the program, even though every class implicitly inherits from it. Check with is_universal rather than get_isarev when you need that relationship.
Classes with no known subclasses produce an empty array reference.