Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

MooseX::POE::Aliased - A sane alias attribute for your MooseX::POE objects.

Attributes

Authors

       •   Chris Prather <chris@prather.org>

       •   Ash Berlin <ash@cpan.org>

       •   Chris Williams <chris@bingosnet.co.uk>

       •   Yuval (nothingmuch) Kogman

       •   Torsten Raudssus <torsten@raudssus.de> <http://www.raudssus.de/>

Description

       This role provides an "alias" 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.

Methods

alias
       The alias to set for the session.

       Defaults to the "overload::StrVal" of the object.

       If the value is set at runtime the alias will be updated in the POE::Kernel.

       A value of "undef" inhibits aliasing.

Name

       MooseX::POE::Aliased - A sane alias attribute for your MooseX::POE objects.

Synopsis

               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

Version

       version 0.215

See Also