The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MyCPAN::Indexer::Collator::Null - A No-op reports processor

SYNOPSIS

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

# in backpan_indexer.config
collator_class  MyCPAN::Indexer::Collator::Null

DESCRIPTION

This class is a stand in for a Collator that does something real. In the normal run of a backpan index, there's nothing to create out of the set of reports, so this example does nothing.

Methods

component_type

This is a collator component.

get_collator( $Notes )

get_collator sets the collator key in the $Notes hash reference. The value is a code reference that takes the information collected about a distribution and dumps it as a YAML file.

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

TO DO

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 © 2008-2018, brian d foy <bdfoy@cpan.org>. All rights reserved.

You may redistribute this under the terms of the Artistic License 2.0.