make Role consistent with Class, specify strictures 2
[scpubgit/DX.git] / lib / DX / Class.pm
index 730069a..7d8987c 100644 (file)
@@ -3,7 +3,11 @@ package DX::Class;
 use Import::Into;
 
 sub import {
-  strictures->import::into(1); # should pass version
+  strictures->import::into({ level => 1, version => 2 }); # should pass version
+  DX::Types->import::into(1, ':types', ':assert');
+  DX::Utils->import::into(1, '*trace');
+  Types::Standard->import::into(1, 'Maybe');
+  Try::Tiny->import::into(1);
   Moo->import::into(1);
   # This would not be safe with method modifiers, but since the role
   # provides only a single method it works out fine.