1Role::Tiny::With(3) User Contributed Perl Documentation Role::Tiny::With(3)
2
3
4
6 Role::Tiny::With - Neat interface for consumers of Role::Tiny roles
7
9 package Some::Class;
10
11 use Role::Tiny::With;
12
13 with 'Some::Role';
14
15 # The role is now mixed in
16
18 "Role::Tiny" is a minimalist role composition tool. "Role::Tiny::With"
19 provides a "with" function to compose such roles.
20
22 See Role::Tiny for authors.
23
25 See Role::Tiny for the copyright and license.
26
27
28
29perl v5.32.0 2020-07-28 Role::Tiny::With(3)