MyCPAN::Indexer::Reporter::AsYAML - Save the result as a YAML file
Use this in backpan_indexer.pl by specifying it as the reporter class:
# in backpan_indexer.config reporter_class MyCPAN::Indexer::Reporter::AsYAML
This class takes the result of examining a distribution and saves it.
- get_reporter( $Notes )
reporterkey in the
$Noteshash 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_reporterexpects and should do.
Returns the extension for reports from this reporter. Since we're making YAML files, that's
This code is in Github:
brian d foy,
Copyright © 2008-2018, brian d foy <firstname.lastname@example.org>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.