[Prereqs]
Moose = 0.94
+namespace::autoclean = 0
[Prereqs / TestRequires]
Test::Fatal = 0
package MooseX::StrictConstructor::Role::Object;
-use strict;
-use warnings;
-
use Moose::Role;
+use namespace::autoclean;
+
after 'BUILDALL' => sub {
my $self = shift;
my $params = shift;
return;
};
-no Moose::Role;
-
1;
# ABSTRACT: A role which implements a strict constructor for Moose::Object
package MooseX::StrictConstructor::Trait::Class;
-use strict;
-use warnings;
+use Moose::Role;
+
+use namespace::autoclean;
use B ();
use Carp ();
-use Moose::Role;
-
around '_inline_BUILDALL' => sub {
my $orig = shift;
my $self = shift;
);
};
-no Moose::Role;
-
1;
# ABSTRACT: A role to make immutable constructors strict
package MooseX::StrictConstructor::Trait::Method::Constructor;
-use strict;
-use warnings;
+use Moose::Role;
+
+use namespace::autoclean;
use B ();
use Carp ();
-use Moose::Role;
-
around '_generate_BUILDALL' => sub {
my $orig = shift;
my $self = shift;
return $source;
};
-no Moose::Role;
-
1;
# ABSTRACT: A role to make immutable constructors strict