Moos
view release on metacpan or search on metacpan
lib/Moos.pm view on Meta::CPAN
not ( $_[0]{builder}
|| $_[0]{default}
|| $_[0]{trigger}
|| $ENV{PERL_MOOS_ACCESSOR_CALLS}
);
}
# Not sure why it is necessary to override &new here...
sub new {
my $class = shift;
my $self = bless $class->BUILDARGS(@_) => $class;
$self->Moos::Object::BUILDALL;
return $self;
}
sub BUILDARGS {
shift;
my $args = @_==1 ? $_[0] : +{@_};
# Massage %args
my $name = $args->{name};
( run in 0.500 second using v1.01-cache-2.11-cpan-3b35f9de6a3 )