Commit | Line | Data |
---|---|---|
73cc2ff3 | 1 | package Role::Tiny::Restricted::With; |
2 | ||
3 | use strict; | |
4 | use warnings FATAL => 'all'; | |
5 | use Role::Tiny::Restricted (); | |
6 | ||
7 | use Exporter 'import'; | |
8 | our @EXPORT = qw( with ); | |
9 | ||
10 | sub with { | |
11 | my $target = caller; | |
12 | Role::Tiny::Restricted->apply_union_of_roles_to_package($target, @_) | |
13 | } | |
14 | ||
15 | 1; |