MooseX::POE::Aliased(3pm)

MooseX::POE::Aliased3pm

A sane alias attribute for your moosex::poe objects.

Usage

        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

Overview

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.

Attributes

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–9
  2. 10–13