projects
/
gitmo/Role-Tiny.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
compat restoration trick
[gitmo/Role-Tiny.git]
/
lib
/
Role
/
Tiny
/
Restricted
/
With.pm
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;