Rechercher une page de manuel
MooseX::POE::Aliased.3pm
Langue: en
Version: 2009-04-03 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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
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.
ATTRIBUTES
- 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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre