brian d foy > MyCPAN-Indexer > MyCPAN::Indexer::Worker

Download:
MyCPAN-Indexer-1.28.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 1.28   Source   Latest Release: MyCPAN-Indexer-1.28_10

NAME ^

MyCPAN::Indexer::Worker - Do the indexing

SYNOPSIS ^

Use this in backpan_indexer.pl by specifying it as the queue class:

        # in backpan_indexer.config
        worker_class  MyCPAN::Indexer::Worker

DESCRIPTION ^

This class takes a distribution and analyses it. This is what the dispatcher hands a disribution to for the actual indexing.

Methods

get_task

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.

See MyCPAN::Indexer::Tutorial for details about what get_task expects and should do.

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.

syntax highlighting: