Class-Maker
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Class/Maker.pm view on Meta::CPAN
sub install
{
${ Class::Maker::Reflection::_get_definition( $pkg ) } = $_[0];
}
sub reflect
{
my $class = ref( $_[0] ) || $_[0] || die;
my $rfx = bless { name => $class }, 'Class::Maker::Reflex';
# - First get the "${$DEFINITION}" href containing the class definition
# - find the functions of that class declerated with ': method'
# - catch up the parent class reflection if DEEP is activated
# - update "${$DEFINITION}"->{isa} with its real @ISA
$rfx->{def} = ${ Class::Maker::Reflection::_get_definition( $class ) };
$rfx->{methods} = find_methods( $rfx->{name} );
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.586 second using v1.00-cache-2.02-grep-82fe00e-cpan-a086c87fca4 )