POE::Component::Basement 0.01
POE::Component::Basement provides Class::Std and base POE component functionality. SYNOPSIS package POE::MyComponent; #
|
|||||||||||||||||||
POE::Component::Basement provides Class::Std and base POE component functionality.
SYNOPSIS
package POE::MyComponent;
# use as base
use base qw/ POE::Component::Basement /;
# where the initializations happen (see Class::Std)
sub BUILD { ... }
# see also Class::Std and Class::Data::Inheritable also
# for accessor creation etc.
# define states
sub state_one : State( :inline< _start > ) { ... }
sub state_two : State( :object< foo > ) { ... }
sub state_three : State( :package< bar > ) { ... }
# combined
sub state_multi : State( :inline< foobar > :package< snafoo > ) { ... }
...
# chained events
sub first : State( :object< foo > :chained< bar > ) { ... }
sub second : State( :object< bar > ) { ... }
...
# calling in a row
sub first : State( :object< foo > :next< bar > ) { ... }
sub second : State( :object< bar > ) { ... }
...
# usage
my $comp = POE::MyComponent->new ({
# single alias or array reference for multiple
aliases => [qw/ mycomp shub_niggurath /],
... # your specific init_arg's.
});
Provides Class::Std and base POE component functionality. This module is still kinda experimental.
Requirements:
tags
Download POE::Component::Basement 0.01
Authors software
|
|
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
