MyCPAN::Indexer::Worker - Do the indexing
Use this in backpan_indexer.pl by specifying it as the queue class:
# in backpan_indexer.config worker_class MyCPAN::Indexer::Worker
This class takes a distribution and analyses it. This is what the dispatcher hands a disribution to for the actual indexing.
get_task sets the child_task key in the notes. The value is a code reference that takes a distribution path as its only argument and indexes that distribution.
get_task
child_task
See MyCPAN::Indexer::Tutorial for details about what get_task expects and should do.
This is a worker component.
MyCPAN::Indexer, MyCPAN::Indexer::Tutorial
This code is in Github:
git://github.com/briandfoy/mycpan-indexer.git
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright © 2008-2018, brian d foy <bdfoy@cpan.org>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.
To install MyCPAN::Indexer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MyCPAN::Indexer
CPAN shell
perl -MCPAN -e shell install MyCPAN::Indexer
For more information on module installation, please visit the detailed CPAN module installation guide.