Another TODO note, to go with the CAVEATS
[gitmo/MooseX-UndefTolerant.git] / lib / MooseX / UndefTolerant / Class.pm
index d8484b9..13d1380 100644 (file)
@@ -1,6 +1,15 @@
 package MooseX::UndefTolerant::Class;
+
+# applied to metaclass, for Moose >= 1.9900
+
+use strict;
+use warnings;
+
 use Moose::Role;
 
+# TODO: this code should be in the attribute trait, in the inlined version of
+# initialize_instance_slot, but this does not yet exist!
+
 around _inline_init_attr_from_constructor => sub {
     my $orig = shift;
     my $self = shift;
@@ -19,5 +28,4 @@ around _inline_init_attr_from_constructor => sub {
 };
 
 no Moose::Role;
-
 1;