Commit | Line | Data |
---|---|---|
9d759b64 | 1 | package DX::Class; |
2 | ||
3 | use Import::Into; | |
4 | ||
5 | sub import { | |
6 | strictures->import::into(1); # should pass version | |
3e465d5d | 7 | DX::Types->import::into(1, ':types', ':assert'); |
bcee3a69 | 8 | DX::Utils->import::into(1, '*trace'); |
fa8f5696 | 9 | Try::Tiny->import::into(1); |
9d759b64 | 10 | Moo->import::into(1); |
11 | # This would not be safe with method modifiers, but since the role | |
12 | # provides only a single method it works out fine. | |
13 | caller()->can('with')->('DX::Role::But'); | |
14 | } | |
15 | ||
16 | 1; |