POE::Component::BasementPOE::Component::Basement provides Class::Std and base POE component functionality. | |
Download |
POE::Component::Basement Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Robert Sedlacek
- Publisher web site:
- http://search.cpan.org/~phaylon/
POE::Component::Basement Tags
POE::Component::Basement Description
POE::Component::Basement provides Class::Std and base POE component functionality. 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 => , ... # your specific init_arg's. });Provides Class::Std and base POE component functionality. This module is still kinda experimental. Requirements: · Perl
POE::Component::Basement Related Software