A sane alias attribute for your moosex::poe objects.
version 0.215
use MooseX::POE; with qw(MooseX::POE::Aliased); my $obj = Foo->new( alias => "blah" ); $obj->alias("arf"); # previous one is removed, new one is set $obj->alias(undef); # no alias set
This role provides an \*(C`alias\*(C' attribute for your MooseX::POE objects.
The attribute can be set, causing the current alias to be cleared and the new value to be set.
The alias to set for the session.
Defaults to the \*(C`overload::StrVal\*(C' of the object.
If the value is set at runtime the alias will be updated in the POE::Kernel.
A value of \*(C`undef\*(C' inhibits aliasing.
Chris Prather <[email protected]>
Ash Berlin <[email protected]>
Chris Williams <[email protected]>
Yuval (nothingmuch) Kogman
Torsten Raudssus <[email protected]> <http://www.raudssus.de/>
This software is copyright (c) 2010 by Chris Prather, Ash Berlin, Chris Williams, Yuval Kogman, Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.