NAME FML::Process::State - interface to handle states within current process. SYNOPSIS DESCRIPTION METHODS CURRENT MAILING LIST BASIC RESTRICTION STATES CAUTION: restriction_state_*() is reset each command. ARTICLE STATES COMMAND PROCESSOER STATES command_context_init() called for each command, so restriction_state_*() is reset each time. But in the case of emulatation of listserv/majordomo emulation, we should pay attention for handlings of $command_mail_restrictions and $admin_command_mail_restrictions. The restrictions must differ among mailing lists. So, we do not cache the return value and always check it each command mail line. FILTER STATE filter_state_set_error($category, $code) save the filter error for later use. filter_state_get_error($category) get the filter error. SMTP STATE smtp_server_state_set_error($mta) set $mta as error for later hint. smtp_server_state_get_error() check if $mta as error for later hint. UTILITY error_message_set_count($class) increment error count on this class $class to avoid duplicated error messages. error_message_get_count($class) get error count on this class $class to avoid duplicated error messages. CODING STYLE See "http://www.fml.org/software/FNF/" on fml coding style guide. AUTHOR Ken'ichi Fukamachi COPYRIGHT Copyright (C) 2004,2005,2006,2008 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::Process::State appeared in fml8 mailing list driver package. See "http://www.fml.org/" for more details.