POE::Session::CascadingPOE::Session::Cascading is a Perl module with stack-like POE sessions. | |
Download |
POE::Session::Cascading Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Matt Cashner
- Publisher web site:
- http://search.cpan.org/~sungo/POE-Exceptions-0.0502/lib/POE/Exceptions.pm
POE::Session::Cascading Tags
POE::Session::Cascading Description
POE::Session::Cascading is a Perl module with stack-like POE sessions. POE::Session::Cascading is a Perl module with stack-like POE sessions.SYNOPSIS POE::Session::Cascading->new( name => 'foo', events => , ); sub state1 { my %args = @_; $args{KERNEL}->post('somewhere','somestate'); # } sub state2 { my %args = @_; # $args{SESSION}->stop; }POE::Session::Cascading provides a stack-like session for POE. Another way of saying it is that a Cascading session is like a big switch statement. In the above example, when state1 is called in session foo, &state1 gets executed. When it finishes, state2 gets fired and &state2 gets executed. If state2 is called in session foo, only state2 will get executed. Requirements: · Perl
POE::Session::Cascading Related Software