NAME
Method::Workflow::SubClass - Provides tools for Workflow and extensions.
IMPORTING
AUTOMATIC @ISA MANIPULATION
When you use Method::Workflow::SubClass the importing class is autamatically turned into a subclass of Method::Workflow. This is the same as if you had typed 'use base qw/Method::Workflow/'.
To prevent this behavior import Method::Workflow::SubClass with the ':nobase' parameter:
use Method::Workflow::SubClass ':nobase';
EXPORTS
- keyword( $name )
- keyword( $name, $class )
-
Define a keyword to be exported by the calling class. The keyword will take a name and codeblock. It will use the name and blck to create a new instance of $class or your class and add it to the current workflow using $workflow->additem()
- $wf = parent_workflow()
-
Search back through the stack to find the current workflow.
FENNEC PROJECT
This module is part of the Fennec project. See Fennec for more details. Fennec is a project to develop an extensible and powerful testing framework. Together the tools that make up the Fennec framework provide a potent testing environment.
The tools provided by Fennec are also useful on their own. Sometimes a tool created for Fennec is useful outside the greater framework. Such tools are turned into their own projects. This is one such project.
- Fennec - The core framework
-
The primary Fennec project that ties them all together.
AUTHORS
Chad Granum exodist7@gmail.com
COPYRIGHT
Copyright (C) 2010 Chad Granum
Method-Workflow is free software; Standard Perl license.
Method-Workflow is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.