package MooseX::UndefTolerant;
+use strict;
+use warnings;
+
use Moose qw();
use Moose::Exporter;
package MooseX::UndefTolerant::Class;
+
+# applied to metaclass, for Moose >= 1.9900
+
+use strict;
+use warnings;
+
use Moose::Role;
around _inline_init_attr_from_constructor => sub {
};
no Moose::Role;
-
1;
package MooseX::UndefTolerant::Constructor;
+
+# applied to constructor method metaclass, for Moose < 1.9900
+
use Moose::Role;
+use strict;
+use warnings;
+
around _generate_slot_initializer => sub {
my $orig = shift;
my $self = shift;