28 Aug 2009 15:03:01 UTC
- Distribution: Class-Workflow
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (0)
- Testers (634 / 14 / 1)
- KwaliteeBus factor: 3
- % Coverage
- License: unknown
- Activity24 month
- Download (31.08KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionNUFFIN יובל קוג'מן (Yuval Kogman)
Class::Workflow::State::TransitionSet - A state that implements transition meta data using Set::Object.
package MyState; with "Class::Workflow::State::TransitionSet";
This is a concrete role that implements
has_transitionsas required by Class::Workflow::State, and adds
Transition storage is implemented internally with Set::Object.
Unlike Class::Workflow::State::TransitionHash this role does not require transitions to respond to the
namemethod, but as a consequence you must refer to the transitions by value.
Note that you may construct like this:
Class->new( transitions => \@transitions, );
and the transition set will be coerced from that array reference.
Module Install Instructions
To install Class::Workflow, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Class::Workflow
For more information on module installation, please visit the detailed CPAN module installation guide.