MyCPAN::Indexer::NullTester - Do nothing components
Use this in backpan_indexer.pl by specifying it as the class you want to do nothing:
# in backpan_indexer.config worker_class MyCPAN::Indexer::NullTester
This class implements all of the methods needed by all of the component classes. The
get_queue adds a queue key to HASH_REF. The value of queue is an empty
get_queue
queue
get_task adds a child_task key to HASH_REF. The value of child_task is a code reference that returns 1 and does nothing else.
get_task
child_task
get_storer adds a reporter key to HASH_REF. The value of reporter is a code reference that returns 1 and does nothing else.
get_storer
reporter
get_dispatcher adds a dispatcher key to HASH_REF. The value is an object that responds to the start and finish methods, but does nothing. get_dispatcher also sets the interface_callback key to a code reference that returns 1 and does nothing else.
get_dispatcher
interface_callback
do_interface simly returns 1.
do_interface
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 (c) 2008, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.
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.