NAME FML::Header::MessageID - manipulate message-id. SYNOPSIS use FML::Header::MessageID; my $xargs = { directory => $dir }; my $db = FML::Header::MessageID->new->db_open($xargs); if (defined $db) { # we can tind the $mid in the past message-id cache ? $dup = $db->{ $mid }; Log( "message-id duplicated" ) if $dup; # save the current id $db->{ $mid } = 1; } DESCRIPTION manipulate Message-Id database. METHODS new($args) constructor. db_open($db_args) open message-id database and return HASH_REF for the db access. db_close() close message-id database (dummy). get($key) get value for the key $key in message-id database. return '' if not found nor defined. set($key, $value) set value for the key $key in message-id database. gen_id($config) generate a new message-id and return it. CODING STYLE See "http://www.fml.org/software/FNF/" on fml coding style guide. AUTHOR Ken'ichi Fukamachi COPYRIGHT Copyright (C) 2001,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::Header::MessageID first appeared in fml8 mailing list driver package. See "http://www.fml.org/" for more details.