W3C::LogValidator::NewModule - New processing module Template for the Log Validator
Note: please change this description when using this module code and documentation as a template.
This module is a template for the creation of a new processing module for the W3C Log Validator
Constructs a new
$proc = W3C::LogValidator::NewModule->new(\%config);
Processes a list of sorted URIs (through whatever you want your module to be useful for)
The list can be set
uris. If the $val was given a config has when constructed, and if the has has a "tmpfile" key,
process_list will try to read this file as a hash of URIs and "hits" (popularity) with DB_File.
Returns a result hash. Keys for this hash are:
name (string): the name of the module intro (string): introduction to the processing results thead (array): headers of the results table trows (array of arrays): rows of the results table outro (string): conclusion of the processing results
Returns a list of URIs to be processed (unless the configuration gives the location for the hash of URI/hits berkeley file, see
process_list If an array is given as a parameter, also sets the list of URIs and returns it.
Note: please document other methods here.
See also W3c::LogValidator::HTMLValidator for a few other interesting methods you could copy.
Template created by olivier Thereaux <firstname.lastname@example.org> for W3C
Module created by You <your@address>