method routines-by-type

Documentation for method routines-by-type assembled from the following types:

class Documentable::Registry

From Documentable::Registry

(Documentable::Registry) method routines-by-type

Defined as

method  routines-by-type(--> Hash)

Returns a Hash with the following structure:

So, if you have a class Any, with two methods, method1 and method2 then:

my $registry = (suppose it's correctly initialized);
 
# This will return two Documentable::Secondary objects containing the 
# definition of method1 and method2. 
say $registry.routines-by-type<Any>;