NAME FML::Error::Analyze - dispatch model specific analyzer routines. SYNOPSIS use FML::Error::Cache; my $cache = new FML::Error::Cache $curproc; my $rdata = $cache->get_all_values_as_hash_ref(); # $rdata format = { # key1 => [ value1, value2, ... ], # key2 => [ value1, value2, ... ], # } use FML::Error::Analyze; my $analyzer = new FML::Error::Analyze $curproc; $analyzer->$evaluator_function($curproc, $rdata); DESCRIPTION This class provides a top level dispatcher for model specific analyzer routines. METHODS new() constructor. METHODS get_summary() return summary of address and points as HASH_REF. $summary = { address1 => point1, address2 => point2, }; get_address_to_be_deleted() return addresses to be removed. print() print address and the status summary. AUTOLOAD() the command dispatcher kicking up FML::Error::Analyze::COMMAND class. $data STRUCTURE $data is passed to the error analyer function "FML::Error::Analyze::${fp}" (as $anal_data in AUTOLOAD()). $data = { address => [ error_info_1, error_info_2, ... ] }; where the error_info_* has error reasons (STR). $fp parses it, count up. FML::Error or FML::Error::Analyze can retrieve the result via get_summary() method. CODING STYLE See "http://www.fml.org/software/FNF/" on fml coding style guide. AUTHOR Ken'ichi Fukamachi COPYRIGHT Copyright (C) 2002,2003,2004,2005,2006 Ken'ichi Fukamachi All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. HISTORY FML::Error::Analyze first appeared in fml8 mailing list driver package. See "http://www.fml.org/" for more details.