Data::ID::Maildir - generate maildir-style unique IDs
use Data::ID::Maildir qw(maildir_id); $id = maildir_id;
This module exports one function,
maildir_id, which generates maildir-style unique IDs.
Generates a maildir-style unique ID. The ID is based on the time, process ID, and hostname; it is guaranteed to be unique among IDs generated by this algorithm provided the hostname is unique among hosts using this algorithm. The hostname may be specified to the function if it is necessary to override it.
Can theoretically generate duplicate message IDs during a leap second.
Andrew Main (Zefram) <firstname.lastname@example.org>
Copyright (C) 2004, 2007, 2010, 2011 Andrew Main (Zefram) <email@example.com>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.