-
-
29 Nov 2009 20:20:32 UTC
- Development release
- Distribution: MyCPAN-Indexer
- Module version: 1.28_01
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (2)
- Testers (39 / 0 / 0)
- Kwalitee
Bus factor: 1- License: perl_5
- Activity
24 month- Tools
- Download (42.71KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Archive::Extract
- Archive::Tar
- CPAN::Checksums
- CPAN::PackageDetails
- ConfigReader::Simple
- Data::UUID
- Digest::MD5
- Distribution::Guess::BuildSystem
- File::Find
- File::Find::Closures
- Log::Log4perl
- Module::Extract::Namespaces
- Module::Extract::Use
- Module::Extract::VERSION
- Parallel::ForkManager
- Probe::Perl
- Test::More
- Test::Output
- YAML
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
MyCPAN::Indexer::Dispatcher::Parallel - Pass out work to sub-processes
SYNOPSIS
Use this in
backpan_indexer.pl
by specifying it as the queue class:# in backpan_indexer.config dispatch_class MyCPAN::Indexer::Dispatcher::Parallel
DESCRIPTION
This class takes the list of distributions to process and passes them out to the code that will do the work.
Methods
- get_dispatcher
-
Takes the
$Notes
hash and adds thedispatcher
key with a code reference. This module usesParallel::ForkManager
to run jobs in parallel, and looks at theIt also sets up keys for PID, whose value is an anonymous array of process IDs. That array matches up with the one in the key
recent
which keeps track of the distributions it's processing. It adds:dispatcher => sub { ... }, PID => [], recent => [],
SEE ALSO
MyCPAN::Indexer, MyCPAN::Indexer::Tutorial
SOURCE AVAILABILITY
This code is in Github:
git://github.com/briandfoy/mycpan-indexer.git
AUTHOR
brian d foy,
<bdfoy@cpan.org>
COPYRIGHT AND LICENSE
Copyright (c) 2008-2009, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.
Module Install Instructions
To install MyCPAN::Indexer, copy and paste the appropriate command in to your terminal.
cpanm MyCPAN::Indexer
perl -MCPAN -e shell install MyCPAN::Indexer
For more information on module installation, please visit the detailed CPAN module installation guide.