1Alien::Role(3)        User Contributed Perl Documentation       Alien::Role(3)
2
3
4

NAME

6       Alien::Role - Extend Alien::Base with roles!
7

VERSION

9       version 2.38
10

SYNOPSIS

12        package Alien::libfoo;
13
14        use base qw( Alien::Base );
15        use Role::Tiny::With qw( with );
16
17        with 'Alien::Role::Dino';
18        with 'Alien::Role::Alt';
19
20        1;
21

DESCRIPTION

23       The "Alien::Role" namespace is intended for writing roles that can be
24       applied to Alien::Base to extend its functionality.  You could of
25       course write subclasses that extend Alien::Base, but then you have to
26       either stick with just one subclass or deal with multiple inheritance!
27       It is recommended that you use Role::Tiny since it can be used on plain
28       old Perl classes which is good since Alien::Base doesn't use anything
29       fancy like Moose or Moo.  There are two working examples that use this
30       technique that are worth checking out in the event you are interested:
31       Alien::Role::Dino and Alien::Role::Alt.
32
33       This class itself doesn't do anything, it just documents the technique.
34

SEE ALSO

36       Alien
37       Alien::Base
38       alienfile
39       Alien::Build
40       Alien::Role::Dino
41       Alien::Role::Alt
42

AUTHOR

44       Author: Graham Ollis <plicease@cpan.org>
45
46       Contributors:
47
48       Diab Jerius (DJERIUS)
49
50       Roy Storey (KIWIROY)
51
52       Ilya Pavlov
53
54       David Mertens (run4flat)
55
56       Mark Nunberg (mordy, mnunberg)
57
58       Christian Walde (Mithaldu)
59
60       Brian Wightman (MidLifeXis)
61
62       Zaki Mughal (zmughal)
63
64       mohawk (mohawk2, ETJ)
65
66       Vikas N Kumar (vikasnkumar)
67
68       Flavio Poletti (polettix)
69
70       Salvador Fandiño (salva)
71
72       Gianni Ceccarelli (dakkar)
73
74       Pavel Shaydo (zwon, trinitum)
75
76       Kang-min Liu (劉康民, gugod)
77
78       Nicholas Shipp (nshp)
79
80       Juan Julián Merelo Guervós (JJ)
81
82       Joel Berger (JBERGER)
83
84       Petr Pisar (ppisar)
85
86       Lance Wicks (LANCEW)
87
88       Ahmad Fatoum (a3f, ATHREEF)
89
90       José Joaquín Atria (JJATRIA)
91
92       Duke Leto (LETO)
93
94       Shoichi Kaji (SKAJI)
95
96       Shawn Laffan (SLAFFAN)
97
98       Paul Evans (leonerd, PEVANS)
99
100       Håkon Hægland (hakonhagland, HAKONH)
101
103       This software is copyright (c) 2011-2020 by Graham Ollis.
104
105       This is free software; you can redistribute it and/or modify it under
106       the same terms as the Perl 5 programming language system itself.
107
108
109
110perl v5.32.0                      2021-01-12                    Alien::Role(3)
Impressum