updated shell code to register query commands with Tcl object
[scpubgit/DX.git] / lib / DX / Class.pm
1 package DX::Class;
2
3 use Import::Into;
4
5 sub import {
6   strictures->import::into(1); # should pass version
7   DX::Types->import::into(1, ':types', ':assert');
8   Try::Tiny->import::into(1);
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;