1MooseX::POE::Aliased(3)User Contributed Perl DocumentatioMnooseX::POE::Aliased(3)
2
3
4
6 MooseX::POE::Aliased - A sane alias attribute for your MooseX::POE
7 objects.
8
10 version 0.215
11
13 use MooseX::POE;
14
15 with qw(MooseX::POE::Aliased);
16
17 my $obj = Foo->new( alias => "blah" );
18
19 $obj->alias("arf"); # previous one is removed, new one is set
20
21 $obj->alias(undef); # no alias set
22
24 This role provides an "alias" attribute for your MooseX::POE objects.
25
26 The attribute can be set, causing the current alias to be cleared and
27 the new value to be set.
28
30 alias
31 The alias to set for the session.
32
33 Defaults to the "overload::StrVal" of the object.
34
35 If the value is set at runtime the alias will be updated in the
36 POE::Kernel.
37
38 A value of "undef" inhibits aliasing.
39
42 · Chris Prather <chris@prather.org>
43
44 · Ash Berlin <ash@cpan.org>
45
46 · Chris Williams <chris@bingosnet.co.uk>
47
48 · Yuval (nothingmuch) Kogman
49
50 · Torsten Raudssus <torsten@raudssus.de> <http://www.raudssus.de/>
51
53 This software is copyright (c) 2010 by Chris Prather, Ash Berlin, Chris
54 Williams, Yuval Kogman, Torsten Raudssus.
55
56 This is free software; you can redistribute it and/or modify it under
57 the same terms as the Perl 5 programming language system itself.
58
59
60
61perl v5.30.0 2019-07-26 MooseX::POE::Aliased(3)