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'); |
fa8f5696 | 8 | Try::Tiny->import::into(1); |
9d759b64 | 9 | Moo->import::into(1); |
10 | # This would not be safe with method modifiers, but since the role | |
11 | # provides only a single method it works out fine. | |
12 | caller()->can('with')->('DX::Role::But'); | |
13 | } | |
14 | ||
15 | 1; |