-
-
31 Mar 2008 11:37:32 UTC
- Distribution: Verby
- Module version: 0.05
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (75 / 48 / 15)
- Kwalitee
Bus factor: 3- 55.88% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (26.37KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Class::Inspector
- Directory::Scratch
- File::Path
- File::Temp
- Hash::AsObject
- List::MoreUtils
- Log::Dispatch
- Moose
- MooseX::LogDispatch
- POE
- POE::Component::ResourcePool
- Set::Object
- Test::Deep
- Test::Exception
- Test::MockObject
- Test::More
- Test::use::ok
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Take me over?
The maintainer of this distribution is looking for someone to take over! If you're interested then please contact them via email.NAME
Verby::Dispatcher - Takes steps and executes them. Sort of like what make(1) is to a Makefile.
SYNOPSIS
use Verby::Dispatcher; use Verby::Config::Data; # or something equiv my $c = Verby::Config::Data->new(); # ... needs the "logger" field set my $d = Verby::Dispatcher->new; $d->config_hub($c); $d->add_steps(@steps); $d->do_all;
DESCRIPTION
ATTRIBUTES
- resource_pool
-
If provided with a POE::Component::ResourcePool instance, that resource pool will be used to handle resource allocation.
The "resources" in Verby::Step method is used to declare the required resources for each step.
- step_set
-
Returns the Set::Object that is used for internal bookkeeping of the steps involved.
- satisfied_set
-
Returns the Set::Object that is used to track which steps are satisfied.
- config_hub
-
The configuration hub that all contexts inherit from.
Defaults to an empty parameter set.
- global_context
-
The global context objects.
Defaults to a derivation of config_hub.
METHODS
- new
-
Returns a new Verby::Dispatcher. Duh!
- add_steps *@steps
- add_step *@steps
-
Add a number of steps into the dispatcher pool.
Anything returned from "depends" in Verby::Step is aggregated recursively here, and added into the batch too.
- do_all
-
Calculate all the dependencies, and then dispatch in order.
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 308:
'=item' outside of any '=over'
- Around line 337:
You forgot a '=back' before '=head1'
- Around line 401:
'=end' without a target? (Should be "=end private")
Module Install Instructions
To install Verby, copy and paste the appropriate command in to your terminal.
cpanm Verby
perl -MCPAN -e shell install Verby
For more information on module installation, please visit the detailed CPAN module installation guide.