NAME
MyCPAN::Indexer::Storage::AsYAML - Save the result as a YAML file
SYNOPSIS
Use this in backpan_indexer.pl by specifying it as the queue class:
# in backpan_indexer.config
reporter_class MyCPAN::Indexer::Reporter::AsYAML
DESCRIPTION
This class takes the result of examining a distribution and saves it.
Methods
- get_reporter( $Notes )
-
get_reporter
sets thereporter
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_reporter
expects and should do. - final_words( $Notes )
-
Right before backpan_indexer.pl is about to finish, it calls this method to give the reporter a chance to do something at the end. In this case it does nothing.
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 (c) 2008, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.