Reaction
view release on metacpan or search on metacpan
lib/Reaction/Class.pm view on Meta::CPAN
my ($self, $name) = @_;
return $name => sub (;&@) {
return ($name => @_);
};
}
sub import {
my $self = shift;
my $pkg = caller;
my @args = @_;
strict->import;
warnings->import;
$self->do_import($pkg, \@args);
goto &{$self->next_import} if $self->next_import;
}
sub next_import {
return shift->next_import_package(@_)->can('import');
}
sub next_import_package { 'Moose' }
( run in 0.413 second using v1.01-cache-2.11-cpan-299005ec8e3 )