1MooseX::Declare::SyntaxU:s:eKreyCwoonrtdr:i:bRuotMleoedo(s3PepeXmr:)l:DDeoccluamreen:t:aStyinotnax::Keyword::Role(3pm)
2
3
4

NAME

6       MooseX::Declare::Syntax::Keyword::Role - Role declarations
7

VERSION

9       version 0.43
10

METHODS

12   generate_export
13         CodeRef Object->generate_export ()
14
15       Returns a closure with a call to "make_anon_metaclass".
16

CONSUMES

18       ·   MooseX::Declare::Syntax::MooseSetup
19
20       ·   MooseX::Declare::Syntax::RoleApplication
21

MODIFIED METHODS

23   imported_moose_symbols
24         List Object->imported_moose_symbols ()
25
26       Extends the existing "imported_moose_symbols" in
27       MooseX::Declare::Syntax::MooseSetup with "requires", "extends", "has",
28       "inner" and "super".
29
30   import_symbols_from
31         Str Object->import_symbols_from ()
32
33       Will return Moose::Role instead of the default Moose.
34
35   make_anon_metaclass
36         Object Object->make_anon_metaclass ()
37
38       This will return an anonymous instance of Moose::Meta::Role.
39

SEE ALSO

41       ·   MooseX::Declare
42
43       ·   MooseX::Declare::Syntax::Keyword::Class
44
45       ·   MooseX::Declare::Syntax::RoleApplication
46
47       ·   MooseX::Declare::Syntax::MooseSetup
48

AUTHOR

50       Florian Ragwitz <rafl@debian.org>
51
53       This software is copyright (c) 2008 by Florian Ragwitz.
54
55       This is free software; you can redistribute it and/or modify it under
56       the same terms as the Perl 5 programming language system itself.
57
58
59
60perl v5.30.1                      20M2o0o-s0e1X-:3:0Declare::Syntax::Keyword::Role(3pm)
Impressum